From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mailout1.samsung.com (mailout1.samsung.com [203.254.224.24]) by ozlabs.org (Postfix) with ESMTP id 82976B6FBC for ; Mon, 18 Apr 2011 07:59:37 +1000 (EST) Received: from epmmp1 (mailout1.samsung.com [203.254.224.24]) by mailout1.samsung.com (Oracle Communications Messaging Exchange Server 7u4-19.01 64bit (built Sep 7 2010)) with ESMTP id <0LJT000RYGMJT760@mailout1.samsung.com> for linuxppc-dev@lists.ozlabs.org; Mon, 18 Apr 2011 06:49:31 +0900 (KST) Received: from DOKGENEKIM02 ([12.23.103.104]) by mmp1.samsung.com (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with ESMTPA id <0LJT00I0AGMIST@mmp1.samsung.com> for linuxppc-dev@lists.ozlabs.org; Mon, 18 Apr 2011 06:49:31 +0900 (KST) Date: Mon, 18 Apr 2011 06:49:23 +0900 From: Kukjin Kim Subject: RE: [PATCH 8/14] ARM / Samsung: Use struct syscore_ops for "core" power management In-reply-to: <201104172311.17082.rjw@sisk.pl> To: "'Rafael J. Wysocki'" , 'LKML' Message-id: <008801cbfd49$5508c870$ff1a5950$%kim@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii References: <201103280125.11750.rjw@sisk.pl> <201104172301.54115.rjw@sisk.pl> <201104172311.17082.rjw@sisk.pl> Cc: 'Kevin Hilman' , 'Jeremy Fitzhardinge' , 'Russell King' , 'Konrad Rzeszutek Wilk' , 'Greg KH' , 'Ralf Baechle' , linux-omap@vger.kernel.org, 'Ben Dooks' , 'Jiri Kosina' , 'Kay Sievers' , 'Mike Frysinger' , 'Linux PM mailing list' , 'Guan Xuetao' , linuxppc-dev@lists.ozlabs.org, 'Hans-Christian Egtvedt' , linux-arm-kernel@lists.infradead.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > Replace sysdev classes and struct sys_device objects used for "core" > power management by Samsung platforms with struct syscore_ops objects > that are simpler. > > This generally reduces the code size and the kernel memory footprint. > It also is necessary for removing sysdevs entirely from the kernel in > the future. > > Signed-off-by: Rafael J. Wysocki Acked-by: Kukjin Kim > --- > arch/arm/mach-exynos4/pm.c | 45 ++++++++++++-------- > arch/arm/mach-s3c2410/irq.c | 30 ------------- > arch/arm/mach-s3c2410/mach-bast.c | 17 ++----- > arch/arm/mach-s3c2410/pm.c | 13 ++--- > arch/arm/mach-s3c2410/s3c2410.c | 5 ++ > arch/arm/mach-s3c2412/irq.c | 2 > arch/arm/mach-s3c2412/mach-jive.c | 19 ++------ > arch/arm/mach-s3c2412/pm.c | 27 ++++++------ > arch/arm/mach-s3c2412/s3c2412.c | 4 + > arch/arm/mach-s3c2416/irq.c | 2 > arch/arm/mach-s3c2416/pm.c | 27 +++++------- > arch/arm/mach-s3c2416/s3c2416.c | 5 ++ > arch/arm/mach-s3c2440/mach-osiris.c | 18 ++------ > arch/arm/mach-s3c2440/s3c2440.c | 8 +++ > arch/arm/mach-s3c2440/s3c2442.c | 6 ++ > arch/arm/mach-s3c2440/s3c244x-irq.c | 4 - > arch/arm/mach-s3c2440/s3c244x.c | 62 ++++++++++++++-------------- > arch/arm/mach-s3c64xx/irq-pm.c | 18 ++++---- > arch/arm/mach-s5pv210/pm.c | 25 +++++++---- > arch/arm/plat-s3c24xx/dma.c | 68 +++++++++++----------------- > --- > arch/arm/plat-s3c24xx/irq-pm.c | 7 --- > arch/arm/plat-s5p/irq-pm.c | 7 --- > arch/arm/plat-samsung/include/plat/cpu.h | 6 ++ > arch/arm/plat-samsung/include/plat/pm.h | 6 +- > 24 files changed, 203 insertions(+), 228 deletions(-) > Thanks. Best regards, Kgene. -- Kukjin Kim , Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd.