diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2015-01-11 11:06:56 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2015-02-20 07:30:55 -0500 |
commit | fa75da8ecd29a91ffe338cd8f992e6fb1f5ef046 (patch) | |
tree | d00b551b240905eb7b17dae0cf77e8a2d2dc9c4a /arch/mips/include/asm/gio_device.h | |
parent | 6fb8a163fcb2cc2ee073a1ffda33e402b1092548 (diff) |
MIPS: ip22-gio: Remove legacy suspend/resume support
There are currently no gio device drivers that implement suspend/resume
and this patch removes the bus specific legacy suspend and resume callbacks.
This will allow us to eventually remove struct bus_type legacy suspend and
resume support altogether.
gio device drivers wanting to implement suspend and resume can use dev PM
ops which will work out of the box without further modifications necessary.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/8920/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include/asm/gio_device.h')
-rw-r--r-- | arch/mips/include/asm/gio_device.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/mips/include/asm/gio_device.h b/arch/mips/include/asm/gio_device.h index 4be1a57cdbb0..71a986e9b694 100644 --- a/arch/mips/include/asm/gio_device.h +++ b/arch/mips/include/asm/gio_device.h | |||
@@ -25,8 +25,6 @@ struct gio_driver { | |||
25 | 25 | ||
26 | int (*probe)(struct gio_device *, const struct gio_device_id *); | 26 | int (*probe)(struct gio_device *, const struct gio_device_id *); |
27 | void (*remove)(struct gio_device *); | 27 | void (*remove)(struct gio_device *); |
28 | int (*suspend)(struct gio_device *, pm_message_t); | ||
29 | int (*resume)(struct gio_device *); | ||
30 | void (*shutdown)(struct gio_device *); | 28 | void (*shutdown)(struct gio_device *); |
31 | 29 | ||
32 | struct device_driver driver; | 30 | struct device_driver driver; |