[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20140922173041.GE10233@codeaurora.org>
Date: Mon, 22 Sep 2014 10:30:41 -0700
From: Stephen Boyd <sboyd@...eaurora.org>
To: Pramod Gurav <pramod.gurav@...rtplayin.com>
Cc: linux-kernel@...r.kernel.org, linux-arm-msm@...r.kernel.org,
Guenter Roeck <linux@...ck-us.net>,
Josh Cartwright <joshc@...eaurora.org>,
Sebastian Reichel <sre@...nel.org>,
Dmitry Eremin-Solenikov <dbaryshkov@...il.com>,
David Woodhouse <dwmw2@...radead.org>, linux-pm@...r.kernel.org
Subject: Re: [PATCH v2] power: reset: use restart_notifier mechanism for
msm-poweroff
On 09/22, Pramod Gurav wrote:
> diff --git a/drivers/power/reset/msm-poweroff.c b/drivers/power/reset/msm-poweroff.c
> index 774f9a3..db73238 100644
> --- a/drivers/power/reset/msm-poweroff.c
> +++ b/drivers/power/reset/msm-poweroff.c
> @@ -24,17 +24,24 @@
> #include <asm/system_misc.h>
We can remove this include now too?
>
> static void __iomem *msm_ps_hold;
> -
[...]
> @@ -47,8 +54,10 @@ static int msm_restart_probe(struct platform_device *pdev)
> if (IS_ERR(msm_ps_hold))
> return PTR_ERR(msm_ps_hold);
>
> + register_restart_handler(&restart_nb);
> +
> pm_power_off = do_msm_poweroff;
> - arm_pm_restart = do_msm_restart;
> +
And it looks like we should be including <linux/pm.h> for the
pm_power_off hook?
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
hosted by The Linux Foundation
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists