OSDN Git Service

power: reset: ltc2952: drop empty suspend/resume functions
authorFrans Klaver <frans.klaver@xsens.com>
Wed, 14 Jan 2015 08:15:40 +0000 (09:15 +0100)
committerSebastian Reichel <sre@kernel.org>
Tue, 20 Jan 2015 12:58:29 +0000 (13:58 +0100)
commit0428c40d4c448f5dc63b0f76de14fa0affa7aa2f
treef13fc426f7ff140748d304e4aef374d1ddfcce3a
parent818ca4c8c7be4910f896c702645009f09813347f
power: reset: ltc2952: drop empty suspend/resume functions

Documentation/SubmittingDrivers suggests these be implemented even when
they do nothing. On the other hand, the platform code calls these
functions 'legacy'. Suspend and resume operations should go into a
pm_ops structure, pointed at by the driver's pm field. This approach
would lead to a lot of boiler plate, while achieving nothing. Drop the
functions instead.

Signed-off-by: Frans Klaver <frans.klaver@xsens.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
drivers/power/reset/ltc2952-poweroff.c