From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bartlomiej Zolnierkiewicz Subject: Re: [PATCH V2 07/17] ARM: exynos: cpuidle: Use the cpu_pm notifier Date: Fri, 04 Apr 2014 17:30:19 +0200 Message-ID: <6920211.mKt6dNeJi7@amdc1032> References: <1396618989-2897-1-git-send-email-daniel.lezcano@linaro.org> <1396618989-2897-8-git-send-email-daniel.lezcano@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7Bit Return-path: Received: from mailout3.samsung.com ([203.254.224.33]:15925 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753429AbaDDPap (ORCPT ); Fri, 4 Apr 2014 11:30:45 -0400 Received: from epcpsbgm1.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N3I00H9UJ383D80@mailout3.samsung.com> for linux-samsung-soc@vger.kernel.org; Sat, 05 Apr 2014 00:30:44 +0900 (KST) In-reply-to: <1396618989-2897-8-git-send-email-daniel.lezcano@linaro.org> Sender: linux-samsung-soc-owner@vger.kernel.org List-Id: linux-samsung-soc@vger.kernel.org To: Daniel Lezcano Cc: kgene.kim@samsung.com, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, t.figa@samsung.com, linaro-kernel@lists.linaro.org, rjw@rjwysocki.net On Friday, April 04, 2014 03:42:59 PM Daniel Lezcano wrote: > Use the cpu_pm_enter/exit notifier to group some pm code inside the pm file. > > The save and restore code is duplicated across pm.c and cpuidle.c. By using > the cpu_pm notifier, we can factor out the routine. > > Signed-off-by: Daniel Lezcano > Reviewed-by: Viresh Kumar Thanks for fixing Exynos5250 support in V2. Reviewed-by: Bartlomiej Zolnierkiewicz Best regards, -- Bartlomiej Zolnierkiewicz Samsung R&D Institute Poland Samsung Electronics From mboxrd@z Thu Jan 1 00:00:00 1970 From: b.zolnierkie@samsung.com (Bartlomiej Zolnierkiewicz) Date: Fri, 04 Apr 2014 17:30:19 +0200 Subject: [PATCH V2 07/17] ARM: exynos: cpuidle: Use the cpu_pm notifier In-Reply-To: <1396618989-2897-8-git-send-email-daniel.lezcano@linaro.org> References: <1396618989-2897-1-git-send-email-daniel.lezcano@linaro.org> <1396618989-2897-8-git-send-email-daniel.lezcano@linaro.org> Message-ID: <6920211.mKt6dNeJi7@amdc1032> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Friday, April 04, 2014 03:42:59 PM Daniel Lezcano wrote: > Use the cpu_pm_enter/exit notifier to group some pm code inside the pm file. > > The save and restore code is duplicated across pm.c and cpuidle.c. By using > the cpu_pm notifier, we can factor out the routine. > > Signed-off-by: Daniel Lezcano > Reviewed-by: Viresh Kumar Thanks for fixing Exynos5250 support in V2. Reviewed-by: Bartlomiej Zolnierkiewicz Best regards, -- Bartlomiej Zolnierkiewicz Samsung R&D Institute Poland Samsung Electronics