[PATCH] i2c: npcm7xx: barco-p50-gpio: Add check for platform_driver_register

Jiasheng Jiang jiasheng at iscas.ac.cn
Thu Jun 9 18:14:09 AEST 2022


On Thu, June 9, 2022 at 04:17:11AM +0800, Wolfram Sang wrote:
>> As platform_driver_register() could fail, it should be better
>> to deal with the return value in order to maintain the code
>> consisitency.
>> 
>> Fixes: 56a1485b102e ("i2c: npcm7xx: Add Nuvoton NPCM I2C controller driver")
>> Signed-off-by: Jiasheng Jiang <jiasheng at iscas.ac.cn>
> 
> Applied to for-current, thanks! But what is with the "barco-p50-gpio:"
> in the $subject?

Sorry, that's my fault.
The title should be "i2c: npcm7xx: Add check for platform_driver_register".
Need I submit a v2 to change the patch?

Thanks,
Jiang



More information about the openbmc mailing list