]> git.baikalelectronics.ru Git - kernel.git/commit
eeprom: at24: move platform data processing into a separate routine
authorBartosz Golaszewski <brgl@bgdev.pl>
Mon, 19 Mar 2018 09:17:16 +0000 (10:17 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 Mar 2018 15:25:00 +0000 (16:25 +0100)
commit4d49ae32b068372699814ea3ca9bf3a6c642d055
tree9928ce69efbff2b53aeb7c34bcc7363a2fc86bef
parent47949bb636a73101e7d0486abda6acff60bc830c
eeprom: at24: move platform data processing into a separate routine

This driver can receive its device data from different sources
depending on the system. Move the entire code processing platform data,
device tree and acpi into a separate function.

Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Tested-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/eeprom/at24.c