]> git.karo-electronics.de Git - karo-tx-linux.git/commit
power supply: collie_battery: Convert to use dev_pm_ops
authorAndrea Adami <andrea.adami@gmail.com>
Sat, 20 Jul 2013 23:07:44 +0000 (01:07 +0200)
committerAnton Vorontsov <anton@enomsg.org>
Fri, 9 Aug 2013 20:41:06 +0000 (13:41 -0700)
commit1ba6411497589028ab9f90ed8438182e8506abbb
treea4a5293077003bcd4dc6fcd9fac69c845476bd8b
parente2e077cdde5c6b0c7145849afcf0780e08190311
power supply: collie_battery: Convert to use dev_pm_ops

This commit fixes the following warnings:

 linux/drivers/power/collie_battery.c:372:2: warning: initialization from
 incompatible pointer type [enabled by default]
 linux/drivers/power/collie_battery.c:372:2: warning: (near initialization
 for 'collie_bat_driver.suspend') [enabled by default]

Referencess:

MFD: ucb1x00-core: convert to use dev_pm_ops
https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/include/linux/mfd?id=5a09b7120a965a7d7e8494d0ed509135bbce0118

MFD: mcp-core: remove legacy driver suspend/resume methods
https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/include/linux/mfd?id=cf4abfcc0df2985ff6061f74e63b8353f2a1d0bc

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Anton Vorontsov <anton@enomsg.org>
drivers/power/collie_battery.c