diff options
author | Jiasheng Jiang <[email protected]> | 2022-05-26 17:41:00 +0800 |
---|---|---|
committer | Wolfram Sang <[email protected]> | 2022-06-08 22:15:37 +0200 |
commit | 6ba12b56b9b844b83ed54fb7ed59fb0eb41e4045 (patch) | |
tree | 09fd000113295bfb27ac5ad015e84dbb284ce17a /net/unix/af_unix.c | |
parent | 8c4811e7a5a60443139369a623ca504bad9e3675 (diff) |
i2c: npcm7xx: Add check for platform_driver_register
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 <[email protected]>
Acked-by: Tali Perry <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions