summaryrefslogtreecommitdiff
path: root/include/linux/mfd/88pm80x.h
diff options
context:
space:
mode:
authorYi Zhang <yizhang@marvell.com>2013-01-22 10:43:45 +0800
committerSamuel Ortiz <sameo@linux.intel.com>2013-02-14 00:22:54 +0100
commit306df798507d8e009a7d4a5e8ce238a3b107de20 (patch)
tree763002544391b3f0369dfb46dc4e4993a467e7c6 /include/linux/mfd/88pm80x.h
parentb3aac62bbb1c3f8e71c88e6e477836def3058fe8 (diff)
mfd: 88pm80x: Remove redundant devm_* calls
devm_* functions are device managed and make error handling and code simpler; it also fix error exit paths Signed-off-by: Yi Zhang <yizhang@marvell.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/linux/mfd/88pm80x.h')
-rw-r--r--include/linux/mfd/88pm80x.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mfd/88pm80x.h b/include/linux/mfd/88pm80x.h
index 478672ed0c3d..e94537befabd 100644
--- a/include/linux/mfd/88pm80x.h
+++ b/include/linux/mfd/88pm80x.h
@@ -365,5 +365,5 @@ static inline int pm80x_dev_resume(struct device *dev)
extern int pm80x_init(struct i2c_client *client,
const struct i2c_device_id *id);
-extern int pm80x_deinit(struct i2c_client *client);
+extern int pm80x_deinit(void);
#endif /* __LINUX_MFD_88PM80X_H */