Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp1025711imm; Wed, 17 Oct 2018 12:03:27 -0700 (PDT) X-Google-Smtp-Source: ACcGV62UeKcEOxRZz8UHtV+i2tH+yVP+6x6h1NZsV9GYjlMkUg2QFKebo6P35xbH32K8ryCDPzZa X-Received: by 2002:a17:902:9047:: with SMTP id w7-v6mr26948021plz.4.1539803007844; Wed, 17 Oct 2018 12:03:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539803007; cv=none; d=google.com; s=arc-20160816; b=clXPNng8HYbpznbjoc2LGfmMdB+QZFPbGYgilBwZlmF49iuuzWsZEPeVt+taAvNhEP lHBcbcaNEoOqQ9u7Be4tF0zxWzIXtq9cO61RFyVw+aCzUkpksuHyJfbulmkFGXg4tdb1 WE8Vv/gG4ebxUCqVnSofAhcvaW2nMIojygQZo1477c2lq2inxX9nALmfjFMh2zYG8Hmj WiNiQ/tKTnPLGrTYAILyPInpeUdky/6eHwzxn7rNVLmHS5bvOGGgtJReyKyks2cbUhvj eqDhBz5qxbMYNXuFa5ZUOcvMAEIZiIa7Mt60wV0kpytv9yxup3X7DwMoTszlEcw6XGYG xjXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=oHU9ZAqbVxWD07emItVmzl8l3yOaADH151QnC5ZYWc8=; b=Hhb0Pv73Mww2ATm5FKtAY0le6dklwxrN7MveEA8HTertamcQ1/D+5BrHFd36ergs+I mZSY2R7kSCS9dvYqstGCjdlUKVEGRHijkT40OVtMnN20bgS5Zpb102n+ojAEKo8zG0Cy xhPP6/GnQiHr+v2b+aACUio0dzFIDecA/K8QJbzwMGwEMZp1e0qBq8pwfaznjlQXDp0g Nuj0BSncEf7vNNPpQB4a7xwAZtGPL7t8f/E+pw/Wa6NsJagTp9UGfvAS4Z7NCDL0Ledg bGNfOXo7JxsBDdDCEdZWa+dpRUajiBPOZ/YxLIPqdprPbyfcCPsMbcAWQM0wzhI2R93M z7VA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u81-v6si19067256pfi.175.2018.10.17.12.03.11; Wed, 17 Oct 2018 12:03:27 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728340AbeJRC7Z (ORCPT + 99 others); Wed, 17 Oct 2018 22:59:25 -0400 Received: from mx2.suse.de ([195.135.220.15]:42534 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728096AbeJRC7Y (ORCPT ); Wed, 17 Oct 2018 22:59:24 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 24155B08B; Wed, 17 Oct 2018 19:02:21 +0000 (UTC) From: Nicolas Saenz Julienne To: gregkh@linuxfoundation.org Cc: eric@anholt.net, stefan.wahren@i2se.com, linux-rpi-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, tiwai@suse.de, nsaenzjulienne@suse.de, devel@driverdev.osuosl.org Subject: [PATCH v2 6/7] staging: bcm2835-audio: rename platform_driver structure Date: Wed, 17 Oct 2018 21:01:55 +0200 Message-Id: <20181017190156.30010-7-nsaenzjulienne@suse.de> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181017190156.30010-1-nsaenzjulienne@suse.de> References: <20181017190156.30010-1-nsaenzjulienne@suse.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org It was called bcm2835_alsa0_driver, that "0" didn't mean much. Suggested-by: Takashi Iwai Signed-off-by: Nicolas Saenz Julienne --- drivers/staging/vc04_services/bcm2835-audio/bcm2835.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/vc04_services/bcm2835-audio/bcm2835.c b/drivers/staging/vc04_services/bcm2835-audio/bcm2835.c index 039565311d10..e14b7c5aa07c 100644 --- a/drivers/staging/vc04_services/bcm2835-audio/bcm2835.c +++ b/drivers/staging/vc04_services/bcm2835-audio/bcm2835.c @@ -343,7 +343,7 @@ static const struct of_device_id snd_bcm2835_of_match_table[] = { }; MODULE_DEVICE_TABLE(of, snd_bcm2835_of_match_table); -static struct platform_driver bcm2835_alsa0_driver = { +static struct platform_driver bcm2835_alsa_driver = { .probe = snd_bcm2835_alsa_probe, #ifdef CONFIG_PM .suspend = snd_bcm2835_alsa_suspend, @@ -359,7 +359,7 @@ static int bcm2835_alsa_device_init(void) { int retval; - retval = platform_driver_register(&bcm2835_alsa0_driver); + retval = platform_driver_register(&bcm2835_alsa_driver); if (retval) pr_err("Error registering bcm2835_audio driver %d .\n", retval); @@ -368,7 +368,7 @@ static int bcm2835_alsa_device_init(void) static void bcm2835_alsa_device_exit(void) { - platform_driver_unregister(&bcm2835_alsa0_driver); + platform_driver_unregister(&bcm2835_alsa_driver); } late_initcall(bcm2835_alsa_device_init); -- 2.19.1