]> git.baikalelectronics.ru Git - kernel.git/commit
eeprom: at24: Add support for address-width property
authorAlan Chiang <alanx.chiang@intel.com>
Wed, 25 Jul 2018 03:20:22 +0000 (11:20 +0800)
committerBartosz Golaszewski <brgl@bgdev.pl>
Wed, 25 Jul 2018 07:17:57 +0000 (09:17 +0200)
commit71699c277cf95cde3e2287d59cd431312503c822
treebd9b73b3736c24323b317ea107dc2a8d4ff4af9d
parentea2ab9796cef4f507121b2b2f4d57d1906f55c64
eeprom: at24: Add support for address-width property

Provide a flexible way to determine the addressing bits of eeprom.
Pass the addressing bits to driver through address-width property.

Signed-off-by: Alan Chiang <alanx.chiang@intel.com>
Signed-off-by: Andy Yeh <andy.yeh@intel.com>
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
drivers/misc/eeprom/at24.c