From mboxrd@z Thu Jan 1 00:00:00 1970 From: matthias.bgg@gmail.com (Matthias Brugger) Date: Fri, 11 May 2018 13:25:02 +0200 Subject: [PATCH v2 2/2] soc: mediatek: reuse regmap_read_poll_timeout helpers In-Reply-To: References: Message-ID: <68d230e8-2f9f-ae84-95d0-d8bf22f8f43b@gmail.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi Sean, On 04/23/2018 08:42 AM, sean.wang at mediatek.com wrote: > From: Sean Wang > > Reuse the common helpers regmap_read_poll_timeout provided by Linux core > instead of an open-coded handling. > > v1 -> v2: > - use macro definitions MTK_POLL_DELAY_US and MTK_POLL_TIMEOUT for > arguments sleep_us and timeout_us passing in regmap_read_poll_timeout. > - remove unnecessary linux/iopoll.h being included in. > I just realized that you wrote the changelog here, which will make it show up in the commit log. Thant's not what we want... (see below) > Signed-off-by: Sean Wang > Cc: Matthias Brugger > Cc: Ulf Hansson > Cc: Weiyi Lu > --- > drivers/soc/mediatek/mtk-infracfg.c | 46 ++++++++++--------------------------- > 1 file changed, 12 insertions(+), 34 deletions(-) > Please write your changelog here in the future. I'll fix that up in my tree now, but please remember the next time :) Thanks Matthias