Skip to content
Commit 6e76cb7d authored by Charles Keepax's avatar Charles Keepax Committed by Wolfram Sang
Browse files

i2c: core: Tidy up handling of init_irq



Only set init_irq during i2c_device_new and only handle client->irq on
the probe/remove paths.

Suggested-by: default avatarBenjamin Tissoires <benjamin.tissoires@redhat.com>
Reviewed-by: default avatarMika Westerberg <mika.westerberg@linux.intel.com>
Reviewed-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: default avatarCharles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
parent 8466b616
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment