From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754683AbdFNIjE (ORCPT ); Wed, 14 Jun 2017 04:39:04 -0400 Received: from mail-wr0-f169.google.com ([209.85.128.169]:33060 "EHLO mail-wr0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754248AbdFNIi3 (ORCPT ); Wed, 14 Jun 2017 04:38:29 -0400 Subject: Re: [PATCH] drivers/clocksource/fttmr010: Factor clock read code To: Linus Walleij , Thomas Gleixner , Joel Stanley , Jonas Jensen Cc: Janos Laube , Paulius Zaleckas , linux-arm-kernel@lists.infradead.org, Hans Ulli Kroll , Florian Fainelli , linux-kernel@vger.kernel.org, Andrew Jeffery References: <20170613214813.11406-1-linus.walleij@linaro.org> From: Daniel Lezcano Message-ID: <18eafd32-2b61-f79e-e57c-bf7ab862c7c8@linaro.org> Date: Wed, 14 Jun 2017 10:38:25 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: <20170613214813.11406-1-linus.walleij@linaro.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 13/06/2017 23:48, Linus Walleij wrote: > The sched_clock() and delay timer callbacks can just call > each other and we can save an #ifdef. > > Suggested-by: Daniel Lezcano > Cc: Andrew Jeffery > Cc: Joel Stanley > Cc: Jonas Jensen > Signed-off-by: Linus Walleij > --- > Daniel: feel free to apply as-is or squash into the other > patch as you like. > --- > drivers/clocksource/timer-fttmr010.c | 16 ++++++---------- > 1 file changed, 6 insertions(+), 10 deletions(-) Applied thanks! -- Daniel Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog