commit | 6e76cb7dfd34a2e3a13a0290eca19c0060764964 | [log] [tgz] |
---|---|---|
author | Charles Keepax <ckeepax@opensource.cirrus.com> | Thu Jun 27 10:24:11 2019 +0100 |
committer | Wolfram Sang <wsa@the-dreams.de> | Sat Jun 29 13:18:01 2019 +0200 |
tree | ed3f214bdb2938147a740929b8c4f1cbae1f917e | |
parent | 8466b616cbee91641a419c98d77027cef84066e5 [diff] |
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: Benjamin Tissoires <benjamin.tissoires@redhat.com> Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>