From mboxrd@z Thu Jan 1 00:00:00 1970 From: krzk@kernel.org (Krzysztof Kozlowski) Date: Thu, 26 Jan 2017 21:38:46 +0200 Subject: [PATCH 1/2] soc: samsung: pmu: Remove unused and duplicated defines In-Reply-To: <20251f7e-310a-223e-3a35-7df5bc30352a@samsung.com> References: <20170125193452.31768-1-krzk@kernel.org> <20251f7e-310a-223e-3a35-7df5bc30352a@samsung.com> Message-ID: <20170126193846.hbo6a5yvbp3opfs4@kozik-lap> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Thu, Jan 26, 2017 at 08:15:42AM +0100, Marek Szyprowski wrote: > Hi Krzysztof, > > > On 2017-01-25 20:34, Krzysztof Kozlowski wrote: > > The exynos-regs-pmu.h was never a complete list of PMU registers. It > > contained a lot of holes for registers which are not used. However, a > > lot of unused defines came with porting the code from vendor kernel. > > > > Few of defines were also duplicated. > > > > Remove them so the file will be slightly smaller. > > > > Signed-off-by: Krzysztof Kozlowski > > Thanks for the cleanup! > > If you are touching this, you may also want to unify multiple headers for > the Exynos PMU regs: > include/linux/soc/samsung/exynos-regs-pmu.h > linux/mfd/syscon/exynos4-pmu.h > linux/mfd/syscon/exynos5-pmu.h > Sure, I'll take a look at these as well. Thanks for a hint. Best regards, Krzysztof