Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp1025555imm; Wed, 17 Oct 2018 12:03:19 -0700 (PDT) X-Google-Smtp-Source: ACcGV60jimoO9WyXngHHVdJW3OuQfo+3/xlW278+hlBvctc+AD6B1z9Y1YB2AHL2fAXE2VSvJAqd X-Received: by 2002:a17:902:6b82:: with SMTP id p2-v6mr27197233plk.50.1539802999333; Wed, 17 Oct 2018 12:03:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539802999; cv=none; d=google.com; s=arc-20160816; b=oXokJbOuLT8aMbdP8QKfPdHH9D7eo3pjA9GBdMZzKBBWX18GuGyhUg1X2L1NDsHeBp IFp87/ha6XJ8aMA0phGVs9qYI1gkJKlddcXexmU6FlXQCh/szclzsK6ZvLKdCyPD/CGn 0U3ODJMv/Mj1t3Qz2IaGqPQCRIF0S11VD4iSd7ZldlUjjWOcji9jDsiOlxMuQyGA3tgV pUUKQAqL3bRrwxJKXpXwv4Hvhhq/ZcQXOVyGiwyUa6oX3EqW++JYeVkXZXpmIFwaJ9o3 ofuMZZjL3J27GzH5l6P7zLqxcikxPsB2RNqEfEJAbVebVttcxwY2KIVcUHE5VnmLyY+t H5vQ== 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=zLlVX3OARsLKMTYC4i1lvle+4NtglaxvK/6CDs85OUU=; b=h7Kx/w78DHVVSyE90HEqB2wZPVQuH62LRdtdaUArMx1K1yDMyBQrd58Rv5b7JisurJ t+wutRd/ePwjUmetU+9ky0mH7i52wAXwGi44vj4t1wZamrqKOCAvO3jFjEtBLwZhA1Yf ZSQ3gxwbJ4+QPODiwaaqgxSTvQrOhybTp0YSLUUjVTPYlVAyRt41gmdtglPt3LQ9hkiu i8S26nsRV4dUkJUUmo9huk8rs57wANy/SltPs53S4wxcjDDYhRIurox7X1ZvRg9vvDaU NH8Q8NgkM75EofF/HNqw7qGuDYaSY1VoN9yXGOy9J5uD5L+CdPGe2NcPPLGa1B8u4wtU 9O/Q== 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 w1-v6si1448749pff.194.2018.10.17.12.03.03; Wed, 17 Oct 2018 12:03:19 -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 S1728358AbeJRC7Z (ORCPT + 99 others); Wed, 17 Oct 2018 22:59:25 -0400 Received: from mx2.suse.de ([195.135.220.15]:42522 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728319AbeJRC7Y (ORCPT ); Wed, 17 Oct 2018 22:59:24 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 971D3B078; Wed, 17 Oct 2018 19:02:20 +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 5/7] staging: bcm2835-audio: more generic probe function name Date: Wed, 17 Oct 2018 21:01:54 +0200 Message-Id: <20181017190156.30010-6-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 There will only be one probe function, there is no use for appendig "_dt" the end of the name. Signed-off-by: Nicolas Saenz Julienne Reviewed-by: Takashi Iwai Acked-by: Stefan Wahren --- drivers/staging/vc04_services/bcm2835-audio/bcm2835.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/vc04_services/bcm2835-audio/bcm2835.c b/drivers/staging/vc04_services/bcm2835-audio/bcm2835.c index 6ee8334dfc81..039565311d10 100644 --- a/drivers/staging/vc04_services/bcm2835-audio/bcm2835.c +++ b/drivers/staging/vc04_services/bcm2835-audio/bcm2835.c @@ -291,7 +291,7 @@ static int snd_add_child_devices(struct device *device, u32 numchans) return 0; } -static int snd_bcm2835_alsa_probe_dt(struct platform_device *pdev) +static int snd_bcm2835_alsa_probe(struct platform_device *pdev) { struct device *dev = &pdev->dev; u32 numchans; @@ -344,7 +344,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 = { - .probe = snd_bcm2835_alsa_probe_dt, + .probe = snd_bcm2835_alsa_probe, #ifdef CONFIG_PM .suspend = snd_bcm2835_alsa_suspend, .resume = snd_bcm2835_alsa_resume, -- 2.19.1