Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755490AbYK1ToS (ORCPT ); Fri, 28 Nov 2008 14:44:18 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753609AbYK1Tn6 (ORCPT ); Fri, 28 Nov 2008 14:43:58 -0500 Received: from ey-out-2122.google.com ([74.125.78.24]:55851 "EHLO ey-out-2122.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752959AbYK1Tn5 (ORCPT ); Fri, 28 Nov 2008 14:43:57 -0500 To: Alessandro Zummo Cc: rtc-linux@googlegroups.com Cc: linux-kernel@vger.kernel.org Cc: kernel-janitors@vger.kernel.org Cc: trivial@kernel.org Date: Fri, 28 Nov 2008 17:01:35 +0100 Subject: [PATCH] rtc-ds1511: fix sparse warning From: Hannes Eder Message-ID: <493049fa.06a1660a.3655.ffffab3c@mx.google.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 892 Lines: 30 Fix this sparse warning: drivers/rtc/rtc-ds1511.c:634:2: warning: returning void-valued expression Signed-off-by: Hannes Eder --- drivers/rtc/rtc-ds1511.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/rtc/rtc-ds1511.c b/drivers/rtc/rtc-ds1511.c index 25caada..062a1d1 100644 --- a/drivers/rtc/rtc-ds1511.c +++ b/drivers/rtc/rtc-ds1511.c @@ -631,7 +631,7 @@ ds1511_rtc_init(void) static void __exit ds1511_rtc_exit(void) { - return platform_driver_unregister(&ds1511_rtc_driver); + platform_driver_unregister(&ds1511_rtc_driver); } module_init(ds1511_rtc_init); -- 1.5.6.3 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/