* [PATCH] mfd: tps65912: Declare and use tps65912_irq_exit()
@ 2013-03-02 7:25 Mark Brown
2013-03-13 8:38 ` Samuel Ortiz
0 siblings, 1 reply; 2+ messages in thread
From: Mark Brown @ 2013-03-02 7:25 UTC (permalink / raw)
To: Samuel Ortiz; +Cc: Margarita Olaya Cabrera, linux-kernel, Mark Brown
Clean up interrupts on exit, silencing a sparse warning caused by
tps65912_irq_exit() being defined but not prototyped as we go.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
---
drivers/mfd/tps65912-core.c | 1 +
include/linux/mfd/tps65912.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/drivers/mfd/tps65912-core.c b/drivers/mfd/tps65912-core.c
index 4658b5b..aeb8e40 100644
--- a/drivers/mfd/tps65912-core.c
+++ b/drivers/mfd/tps65912-core.c
@@ -169,6 +169,7 @@ err:
void tps65912_device_exit(struct tps65912 *tps65912)
{
mfd_remove_devices(tps65912->dev);
+ tps65912_irq_exit(tps65912);
kfree(tps65912);
}
diff --git a/include/linux/mfd/tps65912.h b/include/linux/mfd/tps65912.h
index aaceab4..6d30903 100644
--- a/include/linux/mfd/tps65912.h
+++ b/include/linux/mfd/tps65912.h
@@ -323,5 +323,6 @@ int tps65912_device_init(struct tps65912 *tps65912);
void tps65912_device_exit(struct tps65912 *tps65912);
int tps65912_irq_init(struct tps65912 *tps65912, int irq,
struct tps65912_platform_data *pdata);
+int tps65912_irq_exit(struct tps65912 *tps65912);
#endif /* __LINUX_MFD_TPS65912_H */
--
1.7.10.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] mfd: tps65912: Declare and use tps65912_irq_exit()
2013-03-02 7:25 [PATCH] mfd: tps65912: Declare and use tps65912_irq_exit() Mark Brown
@ 2013-03-13 8:38 ` Samuel Ortiz
0 siblings, 0 replies; 2+ messages in thread
From: Samuel Ortiz @ 2013-03-13 8:38 UTC (permalink / raw)
To: Mark Brown; +Cc: Margarita Olaya Cabrera, linux-kernel
Hi Mark,
On Sat, Mar 02, 2013 at 03:25:50PM +0800, Mark Brown wrote:
> Clean up interrupts on exit, silencing a sparse warning caused by
> tps65912_irq_exit() being defined but not prototyped as we go.
>
> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
> ---
> drivers/mfd/tps65912-core.c | 1 +
> include/linux/mfd/tps65912.h | 1 +
> 2 files changed, 2 insertions(+)
Applied to my mfd-fixes tree, thanks.
Cheers,
Samuel.
--
Intel Open Source Technology Centre
http://oss.intel.com/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-03-13 8:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-02 7:25 [PATCH] mfd: tps65912: Declare and use tps65912_irq_exit() Mark Brown
2013-03-13 8:38 ` Samuel Ortiz
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.