From patchwork Thu Jul 2 04:02:58 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Axel Lin X-Patchwork-Id: 6707401 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 7C4089F380 for ; Thu, 2 Jul 2015 04:03:33 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A797F206E7 for ; Thu, 2 Jul 2015 04:03:32 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 179FD204EA for ; Thu, 2 Jul 2015 04:03:31 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 8DE152658DB; Thu, 2 Jul 2015 06:03:29 +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.9 required=5.0 tests=BAYES_00, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id 5945226545D; Thu, 2 Jul 2015 06:03:21 +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 3F84C2657FF; Thu, 2 Jul 2015 06:03:20 +0200 (CEST) Received: from mail-pa0-f42.google.com (mail-pa0-f42.google.com [209.85.220.42]) by alsa0.perex.cz (Postfix) with ESMTP id 1187B2615F7 for ; Thu, 2 Jul 2015 06:03:13 +0200 (CEST) Received: by pabvl15 with SMTP id vl15so33412160pab.1 for ; Wed, 01 Jul 2015 21:03:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:subject:from:to:cc:date:content-type :mime-version:content-transfer-encoding; bh=xEBWjT6x8eN4nzhBlyIJ+SH33/fcNcGZ51DtCOfxA64=; b=VwAdPCIRsROucjgQhIka+6sRdd3fYunvHLBhUzECEo4DUI3KERwEu8FnQ4cyj7cz/E sRoVmMEa3dkpUVEuNj7EyY4/Ikyr9o98CmcszqnGgluc+xW+my7UfJBNmZ/b45Pj5dXE Rbb9tbZHvu0jZbNQEafVQkU6fXI17AUctwoznc77hRVG2OvSTtube4prn8Z7Gn2GsVs9 I0JpJTT4t1RRoe2M4jfsBdsNOJEXPIWXva2qztW5zF0NGDa/nRm/FfDb5iqOdUgqszLU QOh8PYQCO5DW1ld4jBP2eHFp39rWOeciwFljw3yzEu8pPTfxRuPCIg807WmLdfSu4Rlj dolA== X-Gm-Message-State: ALoCoQmc83KVvhl5lRbVqSkSZR8Ts5WNp6a9v2ubnsxoaWquu48o1q7H5CiGu4QyHZoK+KaYafRA X-Received: by 10.70.134.198 with SMTP id pm6mr62477048pdb.17.1435809791554; Wed, 01 Jul 2015 21:03:11 -0700 (PDT) Received: from phoenix ([39.8.27.168]) by mx.google.com with ESMTPSA id fp3sm3867118pdb.52.2015.07.01.21.03.08 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 01 Jul 2015 21:03:10 -0700 (PDT) Message-ID: <1435809778.4609.0.camel@ingics.com> From: Axel Lin To: Mark Brown Date: Thu, 02 Jul 2015 12:02:58 +0800 X-Mailer: Evolution 3.12.10-0ubuntu1~14.10.1 Mime-Version: 1.0 Cc: alsa-devel@alsa-project.org, Liam Girdwood Subject: [alsa-devel] [PATCH] ASoC: wm0010: Remove .bus field setting from wm0010_spi_driver 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: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP The .bus field will be set by spi_register_driver() so we don't need to set it in wm0010_spi_driver. Signed-off-by: Axel Lin 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 6560a66..e1da49f 100644 --- a/sound/soc/codecs/wm0010.c +++ b/sound/soc/codecs/wm0010.c @@ -1003,7 +1003,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,