Searched hist:"92 dfb27240fea2776f61c5422472cb6defca7767" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/i2c/busses/ |
H A D | i2c-sh7760.c | diff 92dfb27240fea2776f61c5422472cb6defca7767 Sat Apr 17 21:05:05 CEST 2021 Sergey Shtylyov <s.shtylyov@omprussia.ru> 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>
|