From: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> To: Alessandro Zummo <alessandro.zummo@towertech.it>, Kyle McMartin <kyle@mcmartin.ca> Cc: rtc-linux@googlegroups.com, linux-parisc@vger.kernel.org, linuxppc-dev@ozlabs.org, linux-m68k@vger.kernel.org, linux-kernel@vger.kernel.org, Paul Mundt <lethal@linux-sh.org>, Dann Frazier <dannf@dannf.org>, Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>, dann frazier <dannf@hp.com> Subject: [PATCH 2/7] parisc: rtc: platform_driver_probe() fixups Date: Mon, 9 Mar 2009 14:26:18 +0100 [thread overview] Message-ID: <1236605183-22718-3-git-send-email-Geert.Uytterhoeven@sonycom.com> (raw) In-Reply-To: <1236605183-22718-2-git-send-email-Geert.Uytterhoeven@sonycom.com> When using platform_driver_probe(), it's not needed to setup a .probe function, and .remove should be marked __exit_p(), not __devexit_p(). Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> Cc: dann frazier <dannf@hp.com> --- drivers/rtc/rtc-parisc.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/drivers/rtc/rtc-parisc.c b/drivers/rtc/rtc-parisc.c index 620b949..f4e871c 100644 --- a/drivers/rtc/rtc-parisc.c +++ b/drivers/rtc/rtc-parisc.c @@ -62,8 +62,7 @@ static struct platform_driver parisc_rtc_driver = { .name = "rtc-parisc", .owner = THIS_MODULE, }, - .probe = parisc_rtc_probe, - .remove = __devexit_p(parisc_rtc_remove), + .remove = __exit_p(parisc_rtc_remove), }; static int __init parisc_rtc_init(void) -- 1.6.0.4
WARNING: multiple messages have this Message-ID (diff)
From: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> To: Alessandro Zummo <alessandro.zummo@towertech.it>, Kyle McMartin <kyle@mcmartin.ca> Cc: linux-m68k@vger.kernel.org, rtc-linux@googlegroups.com, linux-parisc@vger.kernel.org, linux-kernel@vger.kernel.org, dann frazier <dannf@hp.com>, linuxppc-dev@ozlabs.org, Paul Mundt <lethal@linux-sh.org>, Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>, Dann Frazier <dannf@dannf.org> Subject: [PATCH 2/7] parisc: rtc: platform_driver_probe() fixups Date: Mon, 9 Mar 2009 14:26:18 +0100 [thread overview] Message-ID: <1236605183-22718-3-git-send-email-Geert.Uytterhoeven@sonycom.com> (raw) In-Reply-To: <1236605183-22718-2-git-send-email-Geert.Uytterhoeven@sonycom.com> When using platform_driver_probe(), it's not needed to setup a .probe function, and .remove should be marked __exit_p(), not __devexit_p(). Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> Cc: dann frazier <dannf@hp.com> --- drivers/rtc/rtc-parisc.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/drivers/rtc/rtc-parisc.c b/drivers/rtc/rtc-parisc.c index 620b949..f4e871c 100644 --- a/drivers/rtc/rtc-parisc.c +++ b/drivers/rtc/rtc-parisc.c @@ -62,8 +62,7 @@ static struct platform_driver parisc_rtc_driver = { .name = "rtc-parisc", .owner = THIS_MODULE, }, - .probe = parisc_rtc_probe, - .remove = __devexit_p(parisc_rtc_remove), + .remove = __exit_p(parisc_rtc_remove), }; static int __init parisc_rtc_init(void) -- 1.6.0.4
next prev parent reply other threads:[~2009-03-09 13:26 UTC|newest] Thread overview: 71+ messages / expand[flat|nested] mbox.gz Atom feed top 2009-03-09 13:26 [PATCH 0/7] Generic RTC class driver Geert Uytterhoeven 2009-03-09 13:26 ` Geert Uytterhoeven 2009-03-09 13:26 ` Geert Uytterhoeven 2009-03-09 13:26 ` Geert Uytterhoeven 2009-03-09 13:26 ` [PATCH 1/7] parisc: rtc: get_rtc_time() returns unsigned int Geert Uytterhoeven 2009-03-09 13:26 ` Geert Uytterhoeven 2009-03-09 13:26 ` Geert Uytterhoeven 2009-03-09 13:26 ` Geert Uytterhoeven [this message] 2009-03-09 13:26 ` [PATCH 2/7] parisc: rtc: platform_driver_probe() fixups Geert Uytterhoeven 2009-03-09 13:26 ` [PATCH 3/7] parisc: rtc: Add missing module alias Geert Uytterhoeven 2009-03-09 13:26 ` Geert Uytterhoeven 2009-03-09 13:26 ` [PATCH 4/7] parisc: rtc: Rename rtc-parisc to rtc-generic Geert Uytterhoeven 2009-03-09 13:26 ` Geert Uytterhoeven 2009-03-09 13:26 ` [PATCH 5/7] m68k: Hook up rtc-generic Geert Uytterhoeven 2009-03-09 13:26 ` Geert Uytterhoeven 2009-03-09 13:26 ` [PATCH 6/7] powerpc: Hook up rtc-generic, and kill rtc-ppc Geert Uytterhoeven 2009-03-09 13:26 ` Geert Uytterhoeven 2009-03-09 13:26 ` Geert Uytterhoeven 2009-03-09 13:26 ` Geert Uytterhoeven 2009-03-09 13:26 ` [PATCH 7/7] powerpc/ps3: Add rtc-ps3 Geert Uytterhoeven 2009-03-09 13:26 ` Geert Uytterhoeven 2009-03-09 14:12 ` [rtc-linux] " Alessandro Zummo 2009-03-09 14:12 ` Alessandro Zummo 2009-03-09 15:24 ` Geert Uytterhoeven 2009-03-09 15:24 ` Geert Uytterhoeven 2009-03-09 15:24 ` Geert Uytterhoeven 2009-03-09 15:24 ` Geert Uytterhoeven 2009-03-09 18:04 ` Geoff Levand 2009-03-09 18:04 ` Geoff Levand 2009-03-09 18:43 ` [rtc-linux] " Alessandro Zummo 2009-03-09 18:43 ` Alessandro Zummo 2009-03-09 19:06 ` Geoff Levand 2009-03-09 19:06 ` Geoff Levand 2009-03-09 19:18 ` Joe Perches 2009-03-09 19:18 ` Joe Perches 2009-03-09 18:35 ` Geoff Levand 2009-03-09 18:35 ` Geoff Levand 2009-03-10 9:21 ` Geert Uytterhoeven 2009-03-10 9:21 ` Geert Uytterhoeven 2009-03-10 9:21 ` Geert Uytterhoeven 2009-03-10 9:39 ` [rtc-linux] " Alessandro Zummo 2009-03-10 9:39 ` Alessandro Zummo 2009-03-10 16:18 ` Geoff Levand 2009-03-10 16:18 ` Geoff Levand 2009-03-09 13:59 ` [PATCH 6/7] powerpc: Hook up rtc-generic, and kill rtc-ppc David Woodhouse 2009-03-09 13:59 ` David Woodhouse 2009-03-11 4:15 ` Benjamin Herrenschmidt 2009-03-11 4:15 ` Benjamin Herrenschmidt 2009-03-16 13:09 ` [PATCH 4/7] parisc: rtc: Rename rtc-parisc to rtc-generic Christoph Hellwig 2009-03-16 13:09 ` Christoph Hellwig 2009-03-09 14:14 ` [rtc-linux] [PATCH 0/7] Generic RTC class driver Alessandro Zummo 2009-03-09 14:14 ` Alessandro Zummo 2009-03-09 15:46 ` Paul Mundt 2009-03-09 15:46 ` Paul Mundt 2009-03-11 10:36 ` Geert Uytterhoeven 2009-03-11 10:36 ` Geert Uytterhoeven 2009-03-11 10:36 ` Geert Uytterhoeven 2009-03-11 10:36 ` Geert Uytterhoeven 2009-03-11 15:45 ` Kyle McMartin 2009-03-11 15:45 ` Kyle McMartin 2009-03-11 17:26 ` Geert Uytterhoeven 2009-03-11 17:26 ` Geert Uytterhoeven 2009-03-11 17:26 ` Geert Uytterhoeven 2009-03-13 4:25 ` Kyle McMartin 2009-03-13 4:25 ` Kyle McMartin 2009-04-02 9:42 ` Geert Uytterhoeven 2009-04-02 9:42 ` Geert Uytterhoeven 2009-04-02 9:42 ` Geert Uytterhoeven 2009-04-02 9:42 ` Geert Uytterhoeven 2009-04-02 13:56 ` Kyle McMartin 2009-04-02 13:56 ` Kyle McMartin
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1236605183-22718-3-git-send-email-Geert.Uytterhoeven@sonycom.com \ --to=geert.uytterhoeven@sonycom.com \ --cc=alessandro.zummo@towertech.it \ --cc=dannf@dannf.org \ --cc=dannf@hp.com \ --cc=kyle@mcmartin.ca \ --cc=lethal@linux-sh.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-m68k@vger.kernel.org \ --cc=linux-parisc@vger.kernel.org \ --cc=linuxppc-dev@ozlabs.org \ --cc=rtc-linux@googlegroups.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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.