From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.7 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 14C36C2D0DB for ; Sat, 25 Jan 2020 20:57:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E2DF220716 for ; Sat, 25 Jan 2020 20:57:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726775AbgAYU5J (ORCPT ); Sat, 25 Jan 2020 15:57:09 -0500 Received: from relay9-d.mail.gandi.net ([217.70.183.199]:57843 "EHLO relay9-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726690AbgAYU5J (ORCPT ); Sat, 25 Jan 2020 15:57:09 -0500 X-Originating-IP: 90.65.92.102 Received: from localhost (lfbn-lyo-1-1913-102.w90-65.abo.wanadoo.fr [90.65.92.102]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id 5AF03FF802; Sat, 25 Jan 2020 20:57:07 +0000 (UTC) Date: Sat, 25 Jan 2020 21:57:06 +0100 From: Alexandre Belloni To: Andy Shevchenko Cc: Alessandro Zummo , linux-rtc@vger.kernel.org, Hans de Goede , "Guilherme G . Piccoli" Subject: Re: [PATCH v2 3/3] rtc: cmos: Refactor code by using the new dmi_get_bios_year() helper Message-ID: <20200125205706.GD2952@piout.net> References: <20200123131437.28157-1-andriy.shevchenko@linux.intel.com> <20200123131437.28157-3-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200123131437.28157-3-andriy.shevchenko@linux.intel.com> Sender: linux-rtc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rtc@vger.kernel.org On 23/01/2020 15:14:37+0200, Andy Shevchenko wrote: > Refactor code by using the new dmi_get_bios_year() helper instead of > open coding its functionality. This also makes logic slightly clearer. > > No changes intended. > > Cc: Hans de Goede > Signed-off-by: Andy Shevchenko > Tested-by: Guilherme G. Piccoli > Reviewed-by: Hans de Goede > --- > v2: Added tags > drivers/rtc/rtc-cmos.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > Applied, thanks. -- Alexandre Belloni, Bootlin Embedded Linux and Kernel engineering https://bootlin.com