summaryrefslogtreecommitdiff
path: root/include/linux/mfd/ucb1x00.h
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2012-01-21 20:36:30 +0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2012-02-19 03:15:42 +0400
commit5a09b7120a965a7d7e8494d0ed509135bbce0118 (patch)
treead2893b2ab904ffa56226a7a133b262b2f8d17eb /include/linux/mfd/ucb1x00.h
parenta4b54acf9e691a3051950444d33980741e7d63a8 (diff)
downloadlinux-5a09b7120a965a7d7e8494d0ed509135bbce0118.tar.xz
MFD: ucb1x00-core: convert to use dev_pm_ops
Convert the ucb1x00-core driver to use dev_pm_ops rather than the legacy members in the mcp driver. Acked-by: Jochen Friedrich <jochen@scram.de> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/linux/mfd/ucb1x00.h')
-rw-r--r--include/linux/mfd/ucb1x00.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mfd/ucb1x00.h b/include/linux/mfd/ucb1x00.h
index a4b954381c2f..253c12c157a6 100644
--- a/include/linux/mfd/ucb1x00.h
+++ b/include/linux/mfd/ucb1x00.h
@@ -154,7 +154,7 @@ struct ucb1x00_driver {
struct list_head devs;
int (*add)(struct ucb1x00_dev *dev);
void (*remove)(struct ucb1x00_dev *dev);
- int (*suspend)(struct ucb1x00_dev *dev, pm_message_t state);
+ int (*suspend)(struct ucb1x00_dev *dev);
int (*resume)(struct ucb1x00_dev *dev);
};