From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754760AbcCBKZy (ORCPT ); Wed, 2 Mar 2016 05:25:54 -0500 Received: from down.free-electrons.com ([37.187.137.238]:39497 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754485AbcCBKZt (ORCPT ); Wed, 2 Mar 2016 05:25:49 -0500 From: Alexandre Belloni To: rtc-linux@googlegroups.com Cc: Alessandro Zummo , Juergen Borleis , linux-kernel@vger.kernel.org, Alexandre Belloni Subject: [PATCH 1/2] rtc: pcf85063: remove useless DRV_VERSION Date: Wed, 2 Mar 2016 11:25:42 +0100 Message-Id: <1456914343-4611-1-git-send-email-alexandre.belloni@free-electrons.com> X-Mailer: git-send-email 2.7.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Since the driver is mainlined there is no use for a separate version number. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-pcf85063.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/rtc/rtc-pcf85063.c b/drivers/rtc/rtc-pcf85063.c index 4e940cc3d782..550f67518c5a 100644 --- a/drivers/rtc/rtc-pcf85063.c +++ b/drivers/rtc/rtc-pcf85063.c @@ -16,8 +16,6 @@ #include #include -#define DRV_VERSION "0.0.1" - #define PCF85063_REG_CTRL1 0x00 /* status */ #define PCF85063_REG_CTRL1_STOP BIT(5) #define PCF85063_REG_CTRL2 0x01 @@ -182,8 +180,6 @@ static int pcf85063_probe(struct i2c_client *client, if (!pcf85063) return -ENOMEM; - dev_info(&client->dev, "chip found, driver version " DRV_VERSION "\n"); - i2c_set_clientdata(client, pcf85063); pcf85063->rtc = devm_rtc_device_register(&client->dev, @@ -221,4 +217,3 @@ module_i2c_driver(pcf85063_driver); MODULE_AUTHOR("Søren Andersen "); MODULE_DESCRIPTION("PCF85063 RTC driver"); MODULE_LICENSE("GPL"); -MODULE_VERSION(DRV_VERSION); -- 2.7.0