summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2012-01-21 17:36:30 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2012-02-19 00:15:42 +0100
commit5a09b7120a965a7d7e8494d0ed509135bbce0118 (patch)
treead2893b2ab904ffa56226a7a133b262b2f8d17eb /include
parentMFD: mcp-sa11x0: complain if mcp clock is left enabled (diff)
downloadlinux-5a09b7120a965a7d7e8494d0ed509135bbce0118.tar.xz
linux-5a09b7120a965a7d7e8494d0ed509135bbce0118.zip
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')
-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);
};