eeprom: at24: provide a separate routine for creating dummy i2c clients
authorBartosz Golaszewski <brgl@bgdev.pl>
Fri, 23 Mar 2018 08:05:07 +0000 (09:05 +0100)
committerBartosz Golaszewski <brgl@bgdev.pl>
Wed, 16 May 2018 12:42:46 +0000 (14:42 +0200)
commit73b0d922cd5be4219eb5528a961714d740291b0e
treea732df59867ffc3d288323f0f2a6480d856de1e3
parent39933e0fd501791bda9393c78ed0aece2188acf2
eeprom: at24: provide a separate routine for creating dummy i2c clients

Move the code responsible for creating the dummy i2c clients used by
chips taking multiple slave addresses to a separate function.

Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Reviewed-by: Peter Rosin <peda@axentia.se>
drivers/misc/eeprom/at24.c