From patchwork Fri May 13 21:26:23 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felipe Balbi X-Patchwork-Id: 784282 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p4DLUDho021885 for ; Fri, 13 May 2011 21:30:13 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758469Ab1EMV1T (ORCPT ); Fri, 13 May 2011 17:27:19 -0400 Received: from na3sys009aog109.obsmtp.com ([74.125.149.201]:50390 "EHLO na3sys009aog109.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758368Ab1EMV1R (ORCPT ); Fri, 13 May 2011 17:27:17 -0400 Received: from mail-fx0-f42.google.com ([209.85.161.42]) (using TLSv1) by na3sys009aob109.postini.com ([74.125.148.12]) with SMTP ID DSNKTc2iMmZg2yBtEOolAnlVXQxXFEtcVKwS@postini.com; Fri, 13 May 2011 14:27:16 PDT Received: by fxm1 with SMTP id 1so2260474fxm.29 for ; Fri, 13 May 2011 14:27:10 -0700 (PDT) Received: by 10.223.91.156 with SMTP id n28mr118086fam.4.1305322030279; Fri, 13 May 2011 14:27:10 -0700 (PDT) Received: from localhost (cs181221225.pp.htv.fi [82.181.221.225]) by mx.google.com with ESMTPS id d18sm966496fak.22.2011.05.13.14.27.08 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 13 May 2011 14:27:09 -0700 (PDT) From: Felipe Balbi To: Luciano Coelho Cc: linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Felipe Balbi Subject: [RFC/PATCH 06/13] net: wl12xx: remove unnecessary prints Date: Sat, 14 May 2011 00:26:23 +0300 Message-Id: <1305321990-22041-7-git-send-email-balbi@ti.com> X-Mailer: git-send-email 1.7.4.1.343.ga91df In-Reply-To: <1305321990-22041-1-git-send-email-balbi@ti.com> References: <1305321990-22041-1-git-send-email-balbi@ti.com> Organization: Texas Instruments\n Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Fri, 13 May 2011 21:30:13 +0000 (UTC) Those have little value. Remove those to make the driver less noisy. Signed-off-by: Felipe Balbi --- drivers/net/wireless/wl12xx/spi.c | 15 +-------------- 1 files changed, 1 insertions(+), 14 deletions(-) diff --git a/drivers/net/wireless/wl12xx/spi.c b/drivers/net/wireless/wl12xx/spi.c index ffc745b..382b79d 100644 --- a/drivers/net/wireless/wl12xx/spi.c +++ b/drivers/net/wireless/wl12xx/spi.c @@ -426,8 +426,6 @@ static int __devinit wl1271_probe(struct spi_device *spi) if (ret) goto out_irq; - wl1271_notice("initialized"); - return 0; out_irq: @@ -464,23 +462,12 @@ static struct spi_driver wl1271_spi_driver = { static int __init wl1271_init(void) { - int ret; - - ret = spi_register_driver(&wl1271_spi_driver); - if (ret < 0) { - wl1271_error("failed to register spi driver: %d", ret); - goto out; - } - -out: - return ret; + return spi_register_driver(&wl1271_spi_driver); } static void __exit wl1271_exit(void) { spi_unregister_driver(&wl1271_spi_driver); - - wl1271_notice("unloaded"); } module_init(wl1271_init);