Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp5343354imm; Tue, 16 Oct 2018 08:50:33 -0700 (PDT) X-Google-Smtp-Source: ACcGV628Z942FgqlCp2cwMYkTIEsguPI2pqlRbMIqAFaOPtAfI1eveA4GoVb4MQo3wttjPw+XB6f X-Received: by 2002:a17:902:a702:: with SMTP id w2-v6mr22031780plq.334.1539705033773; Tue, 16 Oct 2018 08:50:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539705033; cv=none; d=google.com; s=arc-20160816; b=Pg2s/0lbTlqOstlgDDxD0LcibqUKsxDrFiRCHi2GjEb13b8aaA5X6DHMvT++kxNEfr mPuGxs1SQgF9lzlUpUYw03rNOajvWzNCERtN4cpjZOQBzM0TKZtd+m/o0q5A5KUDNQub zbNi9VFtBO9D0U4fGCPTnoDZKroEbqfVxiD476MgnpaE97EKs9HgGOTTY7MfprxWH8K/ lUHLrZkrd4SNgYhEtD/r56KjYOMPuXYRPwDZOBGdim5zQHq9mXhELRTfOi/M1T8Hux8C rmAgmuChsrz456HvklgoqjISAb1U22eKwVHdumTpzAbMR8b5ExDEDAXlXoFHgY6BjwmT DuRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:subject:cc:to:from:message-id:date; bh=tj6mCoWHwfhprcoGySbEotME0LgjUjd6xQqXVIuxt1s=; b=mcW0RdSQU6v+1ElPFI8tHE+ZaJz0z/xCtQHLhG2jxF4sLZkV6flwBKrd3CwTr/9mFm M4fgHcVPL7mKuq3LZYQLiv6ToJsti2KY73U5ubWqxp0A0a7g+deVlNLSnk9KMSgAaDgv tcd2KkNTg1QQ6D+/wYy1giuCcotINRuI/hXsfXCvKpCN3ba9IJ95UZ00fLnCDnxJJDk1 kGkjnQNzB7Y9fkcOd/UYZSa3xiuoxqFKwdqsjxcE5I6dfSucUUNMdJDk4Jz7/8Lb/r4N DlepZuTRPwntOlDOvf9OaOti0doRbdQTA+dR5ACOJGrmiyIjFbIxUspf3PsJxvXOKIQq TjHA== 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 b27-v6si14679471pgb.156.2018.10.16.08.50.17; Tue, 16 Oct 2018 08:50:33 -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 S1727271AbeJPXjA (ORCPT + 99 others); Tue, 16 Oct 2018 19:39:00 -0400 Received: from mx2.suse.de ([195.135.220.15]:40830 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726986AbeJPXjA (ORCPT ); Tue, 16 Oct 2018 19:39:00 -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 CD83CAE2C; Tue, 16 Oct 2018 15:47:56 +0000 (UTC) Date: Tue, 16 Oct 2018 17:47:56 +0200 Message-ID: From: Takashi Iwai To: Nicolas Saenz Julienne Cc: gregkh@linuxfoundation.org, 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 Subject: Re: [PATCH 5/9] staging: bcm2835-audio: more generic probe function name In-Reply-To: <20181016150228.16994-6-nsaenzjulienne@suse.de> References: <20181016150228.16994-1-nsaenzjulienne@suse.de> <20181016150228.16994-6-nsaenzjulienne@suse.de> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/26 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 16 Oct 2018 17:02:24 +0200, Nicolas Saenz Julienne wrote: > > 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 = { Actually now I wonder why this "0" here... It has nothing to do with the patch, but it's a good opportunity to clean it up, too. thanks, Takashi