Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp5291060imm; Tue, 16 Oct 2018 08:05:40 -0700 (PDT) X-Google-Smtp-Source: ACcGV62P9X2CRGhUI8O2iKp8YtX+LN2OiuECy1BKkYAX8xaCcKYXLLSUb6xU5DxgmoU74sDxeqFK X-Received: by 2002:a62:c68e:: with SMTP id x14-v6mr14643667pfk.151.1539702340266; Tue, 16 Oct 2018 08:05:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539702340; cv=none; d=google.com; s=arc-20160816; b=Bzb8s0jCdbWFvT5ueCnf1RD6KO0DKr8nTI4oC8P3tQvCphWEZaLpYz1VamosYZNhWy AgNNaQYlcLA3udNcYdlEUBYG5QnPXHEaPSO0Txd0jxBmN/xll7xgKIteiNGEWMe61SWf mlFJCLtwAS3Ix+vY0fxMlo/65bB8QxFUTh8UmAxnkcneOi53tbtgB7xL7owhKZNYc0Qr Xum+7kSe1d1QMZxUsNS7nbxnfwRCRZ7PC1rmVCd5C/6BsHsJk+k081wKnP9lDNvaebUF w+d+tghEu22f/pts8yzOiCuhyHXC3JGIEM5HDfvPk43J6PnDxTB1+qGfWsbAu0CEQ9HM cWnQ== 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=UruBMhOgGGyN1H3plBiHyp7dUIDApUB/rU92WUUuJrY=; b=MkiUXN2oJhuqROoe9iqeLz6v4dHUBcXCy2kQtQ7STMpIBY6RRY6XkNeT5PgL6f6oSc qh5L7I1e7OlK42wUMlgWSDsX1TL1c98kkrjAgIESDYnnw5u7Fcns+5O1qlt1xuwJ4Yuw nOUAVWqcMwt2gnuMkFtYG9wmAYJz2gIG7uvf1/gsIRAwQHuTYFyolhUXmcXt8SdbqnL4 h3XcJvgIjOfTBzrT+hR4lVyOuEPEMKOSvYplaekrrgisNsvyLq5dKJejU7S5n//FUO2x uPOvzJGhQYEEPBrFNvcDDf5/OypPVIjKt+dAyfgnORU2jTFViNRoCNgXlyrT1U9kPQ4S HPoQ== 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 f59-v6si15666050plf.409.2018.10.16.08.05.24; Tue, 16 Oct 2018 08:05:40 -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 S1727334AbeJPWyw (ORCPT + 99 others); Tue, 16 Oct 2018 18:54:52 -0400 Received: from mx2.suse.de ([195.135.220.15]:55712 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727016AbeJPWyv (ORCPT ); Tue, 16 Oct 2018 18:54:51 -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 6C50AB06E; Tue, 16 Oct 2018 15:03:58 +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, devicetree@vger.kernel.org, robh+dt@kernel.org, tiwai@suse.de, nsaenzjulienne@suse.de Subject: [PATCH 5/9] staging: bcm2835-audio: more generic probe function name Date: Tue, 16 Oct 2018 17:02:24 +0200 Message-Id: <20181016150228.16994-6-nsaenzjulienne@suse.de> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181016150228.16994-1-nsaenzjulienne@suse.de> References: <20181016150228.16994-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 --- 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