* [PATCH 14/19] spi/atmel: remove incorrect __exit_p() [not found] ` <1359123276-15833-1-git-send-email-arnd-r2nGTMty4D4@public.gmane.org> @ 2013-01-25 14:14 ` Arnd Bergmann [not found] ` <1359123276-15833-15-git-send-email-arnd-r2nGTMty4D4@public.gmane.org> 0 siblings, 1 reply; 4+ messages in thread From: Arnd Bergmann @ 2013-01-25 14:14 UTC (permalink / raw) To: linux-arm-kernel-xBCQruHUn5ppWr+L1FloEB2eb7JE58TQ Cc: spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, Nicolas Ferre, linux-kernel-u79uwXL29TY76Z2rM5mHXA, Arnd Bergmann Since we no longer allow building without hotplug, the atmel_spi_remove function is always present and we should not use __exit_p() to refer to it. Without this patch, building at91_dt_defconfig results in: drivers/spi/spi-atmel.c:1006:12: warning: 'atmel_spi_remove' defined but not used [-Wunused-function] Signed-off-by: Arnd Bergmann <arnd-r2nGTMty4D4@public.gmane.org> Cc: Nicolas Ferre <nicolas.ferre-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org> Cc: Grant Likely <grant.likely-s3s/WqlpOiPyB63q8FvJNQ@public.gmane.org> Cc: spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org --- drivers/spi/spi-atmel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/spi-atmel.c b/drivers/spi/spi-atmel.c index ab34497..656d137 100644 --- a/drivers/spi/spi-atmel.c +++ b/drivers/spi/spi-atmel.c @@ -1088,7 +1088,7 @@ static struct platform_driver atmel_spi_driver = { .suspend = atmel_spi_suspend, .resume = atmel_spi_resume, .probe = atmel_spi_probe, - .remove = __exit_p(atmel_spi_remove), + .remove = atmel_spi_remove, }; module_platform_driver(atmel_spi_driver); -- 1.8.0 ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ^ permalink raw reply related [flat|nested] 4+ messages in thread
[parent not found: <1359123276-15833-15-git-send-email-arnd-r2nGTMty4D4@public.gmane.org>]
* Re: [PATCH 14/19] spi/atmel: remove incorrect __exit_p() [not found] ` <1359123276-15833-15-git-send-email-arnd-r2nGTMty4D4@public.gmane.org> @ 2013-02-05 13:34 ` Grant Likely 0 siblings, 0 replies; 4+ messages in thread From: Grant Likely @ 2013-02-05 13:34 UTC (permalink / raw) To: Arnd Bergmann, linux-arm-kernel-xBCQruHUn5ppWr+L1FloEB2eb7JE58TQ Cc: spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, Nicolas Ferre, linux-kernel-u79uwXL29TY76Z2rM5mHXA, Arnd Bergmann On Fri, 25 Jan 2013 14:14:31 +0000, Arnd Bergmann <arnd-r2nGTMty4D4@public.gmane.org> wrote: > Since we no longer allow building without hotplug, the > atmel_spi_remove function is always present and we should > not use __exit_p() to refer to it. > > Without this patch, building at91_dt_defconfig results in: > > drivers/spi/spi-atmel.c:1006:12: warning: 'atmel_spi_remove' defined but not used [-Wunused-function] Looks good, but I took a deeper look and it is incomplete. I found an whole bunch more references. I've crafted a new patch to get rid of them. I'll post and commit it to my tree. g. ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <1359153858-31992-1-git-send-email-arnd@arndb.de>]
[parent not found: <1359153858-31992-1-git-send-email-arnd-r2nGTMty4D4@public.gmane.org>]
* [PATCH 14/19] spi/atmel: remove incorrect __exit_p() [not found] ` <1359153858-31992-1-git-send-email-arnd-r2nGTMty4D4@public.gmane.org> @ 2013-01-25 22:44 ` Arnd Bergmann [not found] ` <1359153858-31992-15-git-send-email-arnd-r2nGTMty4D4@public.gmane.org> 0 siblings, 1 reply; 4+ messages in thread From: Arnd Bergmann @ 2013-01-25 22:44 UTC (permalink / raw) To: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r Cc: spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, Nicolas Ferre, linux-kernel-u79uwXL29TY76Z2rM5mHXA, Arnd Bergmann Since we no longer allow building without hotplug, the atmel_spi_remove function is always present and we should not use __exit_p() to refer to it. Without this patch, building at91_dt_defconfig results in: drivers/spi/spi-atmel.c:1006:12: warning: 'atmel_spi_remove' defined but not used [-Wunused-function] Signed-off-by: Arnd Bergmann <arnd-r2nGTMty4D4@public.gmane.org> Cc: Nicolas Ferre <nicolas.ferre-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org> Cc: Grant Likely <grant.likely-s3s/WqlpOiPyB63q8FvJNQ@public.gmane.org> Cc: spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org --- drivers/spi/spi-atmel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/spi-atmel.c b/drivers/spi/spi-atmel.c index ab34497..656d137 100644 --- a/drivers/spi/spi-atmel.c +++ b/drivers/spi/spi-atmel.c @@ -1088,7 +1088,7 @@ static struct platform_driver atmel_spi_driver = { .suspend = atmel_spi_suspend, .resume = atmel_spi_resume, .probe = atmel_spi_probe, - .remove = __exit_p(atmel_spi_remove), + .remove = atmel_spi_remove, }; module_platform_driver(atmel_spi_driver); -- 1.8.0 ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ^ permalink raw reply related [flat|nested] 4+ messages in thread
[parent not found: <1359153858-31992-15-git-send-email-arnd-r2nGTMty4D4@public.gmane.org>]
* Re: [PATCH 14/19] spi/atmel: remove incorrect __exit_p() [not found] ` <1359153858-31992-15-git-send-email-arnd-r2nGTMty4D4@public.gmane.org> @ 2013-01-28 8:33 ` Nicolas Ferre 0 siblings, 0 replies; 4+ messages in thread From: Nicolas Ferre @ 2013-01-28 8:33 UTC (permalink / raw) To: Arnd Bergmann Cc: spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, linux-kernel-u79uwXL29TY76Z2rM5mHXA, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r On 01/25/2013 11:44 PM, Arnd Bergmann : > Since we no longer allow building without hotplug, the > atmel_spi_remove function is always present and we should > not use __exit_p() to refer to it. > > Without this patch, building at91_dt_defconfig results in: > > drivers/spi/spi-atmel.c:1006:12: warning: 'atmel_spi_remove' defined but not used [-Wunused-function] > > Signed-off-by: Arnd Bergmann <arnd-r2nGTMty4D4@public.gmane.org> > Cc: Nicolas Ferre <nicolas.ferre-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org> Acked-by: Nicolas Ferre <nicolas.ferre-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org> > Cc: Grant Likely <grant.likely-s3s/WqlpOiPyB63q8FvJNQ@public.gmane.org> > Cc: spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > --- > drivers/spi/spi-atmel.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/spi/spi-atmel.c b/drivers/spi/spi-atmel.c > index ab34497..656d137 100644 > --- a/drivers/spi/spi-atmel.c > +++ b/drivers/spi/spi-atmel.c > @@ -1088,7 +1088,7 @@ static struct platform_driver atmel_spi_driver = { > .suspend = atmel_spi_suspend, > .resume = atmel_spi_resume, > .probe = atmel_spi_probe, > - .remove = __exit_p(atmel_spi_remove), > + .remove = atmel_spi_remove, > }; > module_platform_driver(atmel_spi_driver); > > -- Nicolas Ferre ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-02-05 13:34 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <1359123276-15833-1-git-send-email-arnd@arndb.de> [not found] ` <1359123276-15833-1-git-send-email-arnd-r2nGTMty4D4@public.gmane.org> 2013-01-25 14:14 ` [PATCH 14/19] spi/atmel: remove incorrect __exit_p() Arnd Bergmann [not found] ` <1359123276-15833-15-git-send-email-arnd-r2nGTMty4D4@public.gmane.org> 2013-02-05 13:34 ` Grant Likely [not found] ` <1359153858-31992-1-git-send-email-arnd@arndb.de> [not found] ` <1359153858-31992-1-git-send-email-arnd-r2nGTMty4D4@public.gmane.org> 2013-01-25 22:44 ` Arnd Bergmann [not found] ` <1359153858-31992-15-git-send-email-arnd-r2nGTMty4D4@public.gmane.org> 2013-01-28 8:33 ` Nicolas Ferre
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).