eeprom: at24: use devm_i2c_new_dummy_device()
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Mon, 20 May 2019 07:10:41 +0000 (09:10 +0200)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Tue, 28 May 2019 15:54:51 +0000 (17:54 +0200)
commite7308628d0ae5c90d2895d0f3e6030c390431ca6
treebe8eaf993e89a02bf672e2be8a668214f514d8d6
parenta188339ca5a396acc588e5851ed7e19f66b0ebd9
eeprom: at24: use devm_i2c_new_dummy_device()

Now that it's upstream, use the resource managed version
of i2c_new_dummy_device().

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
drivers/misc/eeprom/at24.c