]> asedeno.scripts.mit.edu Git - linux.git/commit
eeprom: at24: enable runtime pm support
authorDivagar Mohandass <divagar.mohandass@intel.com>
Tue, 10 Oct 2017 06:00:37 +0000 (11:30 +0530)
committerWolfram Sang <wsa@the-dreams.de>
Tue, 17 Oct 2017 21:33:03 +0000 (23:33 +0200)
commit98e8201039afad5d2af87df9ac682f62f69c0c2f
treed7f92370fa0528b7b29c7a00e05f3071c5400e39
parentdbc1ab9c12502912be1490ab5d54f39782183f5f
eeprom: at24: enable runtime pm support

Currently the device is kept in D0, there is an opportunity
to save power by enabling runtime pm.

Device can be daisy chained from PMIC and we can't rely on I2C core
for auto resume/suspend. Driver will decide when to resume/suspend.

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