From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lee Jones Subject: Re: [PATCH v5 03/10] rtc: mt6397: move some common definitions into rtc.h Date: Tue, 13 Aug 2019 08:20:18 +0100 Message-ID: <20190813072018.GZ26727@dell> References: <20190812121511.4169-1-frank-w@public-files.de> <20190812121511.4169-4-frank-w@public-files.de> <20190812151128.GV26727@dell> <20190812153856.GR3600@piout.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Content-Disposition: inline In-Reply-To: <20190812153856.GR3600@piout.net> Sender: linux-kernel-owner@vger.kernel.org To: Alexandre Belloni Cc: Frank Wunderlich , Alessandro Zummo , Allison Randal , "David S. Miller" , devicetree@vger.kernel.org, Eddie Huang , Greg Kroah-Hartman , Jonathan Cameron , Kate Stewart , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-pm@vger.kernel.org, linux-rtc@vger.kernel.org, Mark Rutland , Matthias Brugger , Mauro Carvalho Chehab , Nicolas Ferre , Richard Fontana , Rob Herring List-Id: devicetree@vger.kernel.org On Mon, 12 Aug 2019, Alexandre Belloni wrote: > On 12/08/2019 16:11:29+0100, Lee Jones wrote: > > On Mon, 12 Aug 2019, Frank Wunderlich wrote: > > > > > From: Josef Friedl > > > > > > move code to separate header-file to reuse definitions later > > > in poweroff-driver (drivers/power/reset/mt6323-poweroff.c) > > > > > > Suggested-by: Frank Wunderlich > > > Signed-off-by: Josef Friedl > > > Signed-off-by: Frank Wunderlich > > > --- > > > changes since v4: none > > > changes since v3: none > > > changes since v2: add missing commit-message > > > --- > > > drivers/rtc/rtc-mt6397.c | 55 +------------------------- > > > include/linux/mfd/mt6397/rtc.h | 71 ++++++++++++++++++++++++++++++++++ > > > > include/linux/rtc/mt6397.h? > > > > It's just a bunch of registers and bit definitions so it may as well > stay close to include/linux/mfd/mt6397/registers.h Sure. It was a weak preference. -- Lee Jones [李琼斯] Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog