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

Wolfram Sang wsa at kernel.org
Thu Jun 9 06:17:11 AEST 2022


On Thu, May 26, 2022 at 05:41:00PM +0800, Jiasheng Jiang 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?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20220608/e4538e09/attachment-0001.sig>


More information about the openbmc mailing list