max8925_power: Enable power change notifications
authorPhilip Rakity <prakity@marvell.com>
Mon, 29 Aug 2011 16:32:04 +0000 (09:32 -0700)
committerAnton Vorontsov <cbouatmailru@gmail.com>
Fri, 25 Nov 2011 19:30:58 +0000 (23:30 +0400)
commite7a5f6d55991fb3b3214f435681ee2db96320395
tree770037bf6a2d86190b976bfcea3eb67584991d4c
parent72af5a4b9cc9c4527f2967e0283bee632237c26e
max8925_power: Enable power change notifications

The power core infrastructure allow external power change
events to be passed to drivers what are listed in the
supplied_to call back field.  Enable this feature by
allowing the supplied_to field to be passed to the driver.

This feature will enable drivers named in the supplied_to
field that have a external_power_changed callback to be
notified when power was been turned on or off.

Signed-off-by: Philip Rakity <prakity@marvell.com>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
drivers/power/max8925_power.c
include/linux/mfd/max8925.h