diff options
| author | Sergey Shtylyov <s.shtylyov@omprussia.ru> | 2021-04-17 22:05:05 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-05-22 10:38:25 +0200 |
| commit | 892d74ebd2e44d7791c661c05396d167b9b255c5 (patch) | |
| tree | 5d6231cb183a8d7c6380a2aa5cd1d854e7d7f511 /tools/perf/scripts | |
| parent | d3a3e6babcb1187bd529a6a175f192509bab47ca (diff) | |
i2c: sh7760: fix IRQ error path
[ Upstream commit 92dfb27240fea2776f61c5422472cb6defca7767 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions
