summaryrefslogtreecommitdiff
path: root/drivers/i2c/busses/i2c-mt65xx.c
diff options
context:
space:
mode:
authorSergey Shtylyov <s.shtylyov@omprussia.ru>2021-04-17 22:05:05 +0300
committerWolfram Sang <wsa@kernel.org>2021-04-17 22:00:58 +0200
commit92dfb27240fea2776f61c5422472cb6defca7767 (patch)
tree1e65b94247ceb648371286b76d8984e9d1abbd99 /drivers/i2c/busses/i2c-mt65xx.c
parent8f51c1763ae98bb63fc04627ceae383aa0e8ff7b (diff)
i2c: sh7760: fix IRQ error path
While adding the invalid IRQ check after calling platform_get_irq(), I managed to overlook that the driver has a complex error path in its probe() method, thus a simple *return* couldn't be used. Use a proper *goto* instead! Fixes: e5b2e3e74201 ("i2c: sh7760: add IRQ check") Signed-off-by: Sergey Shtylyov <s.shtylyov@omprussia.ru> Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'drivers/i2c/busses/i2c-mt65xx.c')
0 files changed, 0 insertions, 0 deletions