OSDN Git Service

eeprom: at24: add support to fetch eeprom device property "size"
authorDivagar Mohandass <divagar.mohandass@intel.com>
Tue, 10 Oct 2017 06:00:36 +0000 (11:30 +0530)
committerWolfram Sang <wsa@the-dreams.de>
Tue, 17 Oct 2017 21:32:04 +0000 (23:32 +0200)
commitdbc1ab9c12502912be1490ab5d54f39782183f5f
tree797ef1edb04bbb8aeb84642f0012a6d914f9eae6
parentf2f5afd3845c88e96e863ae31f6a7587906af0e6
eeprom: at24: add support to fetch eeprom device property "size"

Obtain the size of the EEPROM chip from DT if the "size" property is
specified for the device.

Suggested-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Reviewed-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Divagar Mohandass <divagar.mohandass@intel.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/misc/eeprom/at24.c