Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754671AbYK1UJs (ORCPT ); Fri, 28 Nov 2008 15:09:48 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752619AbYK1UJh (ORCPT ); Fri, 28 Nov 2008 15:09:37 -0500 Received: from mu-out-0910.google.com ([209.85.134.189]:16427 "EHLO mu-out-0910.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752602AbYK1UJg (ORCPT ); Fri, 28 Nov 2008 15:09:36 -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:11:47 +0100 Subject: [PATCH] rtc-stk17ta8: fix sparse warning From: Hannes Eder Message-ID: <49304ffd.09a1660a.30b3.ffffc7a7@mx.google.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 920 Lines: 30 Fix this sparse warning: drivers/rtc/rtc-stk17ta8.c:403:2: warning: returning void-valued expression Signed-off-by: Hannes Eder --- drivers/rtc/rtc-stk17ta8.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/rtc/rtc-stk17ta8.c b/drivers/rtc/rtc-stk17ta8.c index f4cd46e..549990f 100644 --- a/drivers/rtc/rtc-stk17ta8.c +++ b/drivers/rtc/rtc-stk17ta8.c @@ -400,7 +400,7 @@ static __init int stk17ta8_init(void) static __exit void stk17ta8_exit(void) { - return platform_driver_unregister(&stk17ta8_rtc_driver); + platform_driver_unregister(&stk17ta8_rtc_driver); } module_init(stk17ta8_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/