All of lore.kernel.org
 help / color / mirror / Atom feed
From: andrew@lunn.ch (Andrew Lunn)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] power/reset: restart: remove __dev{init,exit}
Date: Thu, 31 Jan 2013 21:02:50 +0100	[thread overview]
Message-ID: <20130131200250.GR29973@lunn.ch> (raw)
In-Reply-To: <1359658469-14856-1-git-send-email-jason@lakedaemon.net>

On Thu, Jan 31, 2013 at 06:54:29PM +0000, Jason Cooper wrote:
> Signed-off-by: Jason Cooper <jason@lakedaemon.net>

Hi Jason

I Acked-by: a very similar patch to this yesterday....

https://lkml.org/lkml/2013/1/30/233

	Andrew

> ---
>  drivers/power/reset/restart-poweroff.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/power/reset/restart-poweroff.c b/drivers/power/reset/restart-poweroff.c
> index b11b9e8..059cd15 100644
> --- a/drivers/power/reset/restart-poweroff.c
> +++ b/drivers/power/reset/restart-poweroff.c
> @@ -22,7 +22,7 @@ static void restart_poweroff_do_poweroff(void)
>  	arm_pm_restart('h', NULL);
>  }
>  
> -static int __devinit restart_poweroff_probe(struct platform_device *pdev)
> +static int restart_poweroff_probe(struct platform_device *pdev)
>  {
>  	/* If a pm_power_off function has already been added, leave it alone */
>  	if (pm_power_off != NULL) {
> @@ -35,7 +35,7 @@ static int __devinit restart_poweroff_probe(struct platform_device *pdev)
>  	return 0;
>  }
>  
> -static int __devexit restart_poweroff_remove(struct platform_device *pdev)
> +static int restart_poweroff_remove(struct platform_device *pdev)
>  {
>  	if (pm_power_off == &restart_poweroff_do_poweroff)
>  		pm_power_off = NULL;
> @@ -50,7 +50,7 @@ static const struct of_device_id of_restart_poweroff_match[] = {
>  
>  static struct platform_driver restart_poweroff_driver = {
>  	.probe = restart_poweroff_probe,
> -	.remove = __devexit_p(restart_poweroff_remove),
> +	.remove = restart_poweroff_remove,
>  	.driver = {
>  		.name = "poweroff-restart",
>  		.owner = THIS_MODULE,
> -- 
> 1.8.1.1
> 

  parent reply	other threads:[~2013-01-31 20:02 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-28 12:25 [PATCH 0/4] Power off drivers for QNAP and LSXL Andrew Lunn
2012-12-28 12:25 ` [PATCH 1/4] Power: Reset: Driver to turn QNAP board power off Andrew Lunn
2013-01-06 21:55   ` Anton Vorontsov
2013-01-08 18:15     ` [PATCH] power: reset: qnap-poweroff: Fix License String Andrew Lunn
2013-01-20  2:05       ` Anton Vorontsov
2013-01-20 20:13       ` Uwe Kleine-König
2013-01-20 20:47         ` Anton Vorontsov
2013-01-20 20:47           ` Anton Vorontsov
2013-01-21  8:11           ` Uwe Kleine-König
2013-01-21  8:11             ` Uwe Kleine-König
2012-12-28 12:25 ` [PATCH 2/4] ARM: Kirkwood: Make use of the QNAP Power off driver Andrew Lunn
2012-12-28 12:25 ` [PATCH 3/4] Power: Reset: Power off by restarting Andrew Lunn
2012-12-28 18:59   ` Michael Walle
2013-01-06 22:04     ` Anton Vorontsov
2013-01-07  6:42       ` Andrew Lunn
2013-01-07  7:00         ` Anton Vorontsov
2013-01-07 11:27       ` Jason Cooper
2013-01-31 18:54       ` [PATCH] power/reset: restart: remove __dev{init,exit} Jason Cooper
2013-01-31 18:57         ` Jason Cooper
2013-01-31 20:02         ` Andrew Lunn [this message]
2013-01-31 20:20           ` Jason Cooper
2013-02-03  3:43             ` Anton Vorontsov
2012-12-28 12:25 ` [PATCH 4/4] ARM: Kirkwood: Convert LSXL to restart-poweroff driver Andrew Lunn
2012-12-28 19:16   ` Michael Walle
2012-12-28 19:39     ` Andrew Lunn
2012-12-28 23:11       ` Michael Walle
2013-01-23 12:53 ` [PATCH 0/4] Power off drivers for QNAP and LSXL Jason Cooper
2013-05-26  1:19   ` Jason Cooper

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=20130131200250.GR29973@lunn.ch \
    --to=andrew@lunn.ch \
    --cc=linux-arm-kernel@lists.infradead.org \
    /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: link
Be 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.