OSDN Git Service

macintosh: therm_windtunnel: drop using attach_adapter
authorWolfram Sang <wsa@the-dreams.de>
Tue, 21 Aug 2018 15:02:39 +0000 (17:02 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Fri, 24 Aug 2018 12:42:42 +0000 (14:42 +0200)
commit3e7bed52719de4b5b5fb900869e293eae0bc3f3e
tree3686a91c15340fd66bb5709debe6132ae4cd25f6
parent33e17876ea4edcd7f5c01efa78e8d02889261abf
macintosh: therm_windtunnel: drop using attach_adapter

As we now have deferred probing, we can use a custom mechanism and
finally get rid of the legacy interface from the i2c core.

Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Acked-by: Michael Ellerman <mpe@ellerman.id.au>
drivers/macintosh/therm_windtunnel.c