From patchwork Tue Jun 23 14:52:12 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonio Borneo X-Patchwork-Id: 6661911 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 1EC519F46A for ; Tue, 23 Jun 2015 14:52:58 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4A55120652 for ; Tue, 23 Jun 2015 14:52:57 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id DA77D2038A for ; Tue, 23 Jun 2015 14:52:55 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 360D0265777; Tue, 23 Jun 2015 16:52:53 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=no version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id 44B792605C6; Tue, 23 Jun 2015 16:52:46 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id CB50B2605C8; Tue, 23 Jun 2015 16:52:44 +0200 (CEST) Received: from mail-wg0-f45.google.com (mail-wg0-f45.google.com [74.125.82.45]) by alsa0.perex.cz (Postfix) with ESMTP id 78BE926049D for ; Tue, 23 Jun 2015 16:52:37 +0200 (CEST) Received: by wgck11 with SMTP id k11so12005805wgc.0 for ; Tue, 23 Jun 2015 07:52:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=1bnBLNQe/ePPLcYV3guDAO//iv/HpMehFx1JXke+uUM=; b=wMEnN2XroLlzHckToDDG8sHHS4zOa+emrKKXIQacR4Ue37WQSSyLuM1E0E+GVh8VrX Fh1Y5pAjjUkd0oEXyZl9eQQvAuV8rbr+2Hl7vi2mnMJRYZO2IqEwsKV5rRJJ9hc1+tpd O0Vjtsks3QhrDybq96TJUDV45riFQNaQzGYqbES0i/rJkboLs0f3V/jkmmwkNXxKLv6U agSlJSLz1ai8VNnRR3r46jxnwG7JNaaJ0qOAXb44TfNvzev/m8DEQa7jbafLBaPcH0qA Ja3CDaiDqveoyVvGh25id7pFVkVdH6IRHNa/mSDDF8pwkJjXGxo98KQKDDYQjpj0gbx2 LjcA== X-Received: by 10.180.99.39 with SMTP id en7mr4205146wib.31.1435071157573; Tue, 23 Jun 2015 07:52:37 -0700 (PDT) Received: from localhost ([158.110.27.95]) by mx.google.com with ESMTPSA id pf4sm36058697wjb.23.2015.06.23.07.52.35 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 23 Jun 2015 07:52:36 -0700 (PDT) From: Antonio Borneo To: Jaroslav Kysela , Takashi Iwai , Liam Girdwood , Mark Brown , alsa-devel@alsa-project.org, patches@opensource.wolfsonmicro.com Date: Tue, 23 Jun 2015 22:52:12 +0800 Message-Id: <1435071132-24409-1-git-send-email-borneo.antonio@gmail.com> X-Mailer: git-send-email 2.4.4 In-Reply-To: <1435070714-24174-1-git-send-email-borneo.antonio@gmail.com> References: <1435070714-24174-1-git-send-email-borneo.antonio@gmail.com> Cc: Antonio Borneo Subject: [alsa-devel] [PATCH 1/6] ASoC: wm0010: Remove redundant spi driver bus initialization X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP In ancient times it was necessary to manually initialize the bus field of an spi_driver to spi_bus_type. These days this is done in spi_register_driver(), so we can drop the manual assignment. Signed-off-by: Antonio Borneo To: Jaroslav Kysela To: Takashi Iwai To: Liam Girdwood To: Mark Brown To: alsa-devel@alsa-project.org To: patches@opensource.wolfsonmicro.com Cc: linux-kernel@vger.kernel.org Acked-by: Charles Keepax --- sound/soc/codecs/wm0010.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sound/soc/codecs/wm0010.c b/sound/soc/codecs/wm0010.c index f37989e..61bfff4 100644 --- a/sound/soc/codecs/wm0010.c +++ b/sound/soc/codecs/wm0010.c @@ -1005,7 +1005,6 @@ static int wm0010_spi_remove(struct spi_device *spi) static struct spi_driver wm0010_spi_driver = { .driver = { .name = "wm0010", - .bus = &spi_bus_type, .owner = THIS_MODULE, }, .probe = wm0010_spi_probe,