From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933774AbcLGX1t (ORCPT ); Wed, 7 Dec 2016 18:27:49 -0500 Received: from mail-wm0-f65.google.com ([74.125.82.65]:33512 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932983AbcLGX1s (ORCPT ); Wed, 7 Dec 2016 18:27:48 -0500 From: Emil Bartczak To: a.zummo@towertech.it Cc: alexandre.belloni@free-electrons.com, rtc-linux@googlegroups.com, linux-kernel@vger.kernel.org, Emil Bartczak Subject: [PATCH v2 0/6] Provides bug fixes for rtc-mcp795.c Date: Thu, 8 Dec 2016 00:27:36 +0100 Message-Id: X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patchset provides 4 bug fixes (patch 1, 2, 3, 4), one improvement (patch 5) and whitespace, indention errors fixes (patch 6) in the file driver/rtc/rtc-mcp795.c. Please review the changes and consider to apply them to the main kernel tree. Changes from v1: - Introduced SoB to all patches. - Patch which switches to bcd2bin/bin2bcd became as first now, it also solved the shift problem presented in the previous patch 1. - Added restoring EXTOSC bit to its previous value. - All whitespace and indention fixes moved to the new patch 6. - Added new patch which replaces all bitmask values with the BIT(x) macro. Emil Bartczak (6): rtc: mcp795: use bcd2bin/bin2bcd. rtc: mcp795: fix bitmask value for leap year (LP). rtc: mcp795: fix time range difference between linux and RTC chip. rtc: mcp795: fix month write resetting date to 1. rtc: mcp795: Prefer using the BIT() macro. rtc: mcp795: Fix whitespace and indentation. drivers/rtc/rtc-mcp795.c | 122 ++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 100 insertions(+), 22 deletions(-) -- 2.7.4