Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp1555507ybg; Wed, 23 Oct 2019 18:15:50 -0700 (PDT) X-Google-Smtp-Source: APXvYqxrIe/zmxOkjwR4weof49GUynjnwRTIzHxJPFAfC8bZpyRakRAey0JRu7hFYsKP8cUKuqyg X-Received: by 2002:a05:6402:1acd:: with SMTP id ba13mr23145389edb.141.1571879750839; Wed, 23 Oct 2019 18:15:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571879750; cv=none; d=google.com; s=arc-20160816; b=0iaDOBeEzxfTN5BdrSltMJwG3gnCEt9dXQJ+ndKTVx8Srsgg7w23aMvZ9mUrxWx3yn 1jNTuEIZld39MrMeUDATeHymQT3HlcRsCK8EooESS8DAOPm056vSTMGeAPhrreHclUek h1hJlnVh0a4QxPPoPtHL2A8qJgZE6iDahngNAzIImKIe8aumKPndpHFMtIj7QfdZkfws yCcnTTeHkWHTS3qdYt9yBznp3Rh4Q3sdsHWH1FXGBae7EwSpB7zjNBs9VsSSZ7AYfYUU LbO2gY0XXYRUsGKJO0+W4R90zA6HHc6blY1HwhaMEcHZpmHyRpMacd9heuzG3sOHHrVi Mcug== 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:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=O9ox2pve6NHLhmzZq/Et8NzVsXtqJowAf4+8XmKRml8=; b=kZH2Qkx7VR8H/0QWyfrd6K72mRf89SZC4HeTb3JBsIxNLwVGvr7G78kJkfjzf4D3Uy LR6umd7cnChn7mCi5NJvU9x+E8FCp48NIlKT1gBbqIn0aP9o9UWfpm+jHcQ13FWJothG NUpTfAHKMR9u0iQX0dgaYUE0qLfmF11DxHk0kOqq4g5SvavNqDQ5DCO0IjlKGQ5Tgeze 89syU+cbMgTNtlPWSt6I+zc46PW+YUvtVSD43UIBu59sKkZSiUeZUsmjQWKZCahpAPsw GuxImPDOF1cnnHZwZQss1h1nN12Jqd4SjeWibeFvxtwcnKtd31E8caFfSDeAPOXWcSQK 5zyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=dAsNYaoP; 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 oe20si2306880ejb.228.2019.10.23.18.15.25; Wed, 23 Oct 2019 18:15:50 -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; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=dAsNYaoP; 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 S2392367AbfJWOtZ (ORCPT + 99 others); Wed, 23 Oct 2019 10:49:25 -0400 Received: from mail-oi1-f194.google.com ([209.85.167.194]:44929 "EHLO mail-oi1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390315AbfJWOtY (ORCPT ); Wed, 23 Oct 2019 10:49:24 -0400 Received: by mail-oi1-f194.google.com with SMTP id s71so4741506oih.11 for ; Wed, 23 Oct 2019 07:49:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=O9ox2pve6NHLhmzZq/Et8NzVsXtqJowAf4+8XmKRml8=; b=dAsNYaoPoa0FVkpWQ+Mw+OCElmBkuYpU/+5PWViTjpSeETA9ynnP/Lnu5J8g+tEwPl Z6CcJN9xhR5BUDtYeZo9pCcZcWgrjwimMU2rLTLsvOJ7Grm6/FgwwLndipgusj6dfSHe uvZCqwqAuX/HwaHmKgRe7nqV6abw2AgJEO2HQsn5NNKSWdI+nMJ2dQj1aHZSNuvlxxkC r7kOEy01YoQHDzoqp0/Pvv9vKFOrtdAqF8yY0wKKCS2JrckS1rrpCWE1NOplPVKbjQCn igGlIMe9VeUAHKuVbdq2nCkNNzar9KcKo+925snr22p2nkRwUyxsNlcn9/dBY+O5puWd DFqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=O9ox2pve6NHLhmzZq/Et8NzVsXtqJowAf4+8XmKRml8=; b=ayU/5M8Cr1EXyd7CL/sTPlGeeqsNUyK69FHDQhieb5X/+/wcGLIbqS7gdlwOKug4lk NutqXubBf+vdUai4S/7+/bQOl6tNIzWs9TzVKHXCNXngGEGwzMY2am2QhnZQGE38fLn6 5u6sWm+sThRYeylZ9ubUNQW7gzjTyQGCAOC+xJtvzne7OpvQJR/i8/hgyS1hz0Ow0BC6 pe00LBUdgDCbcxrgO7PivKQMY+xJVUZN++cyjVcmWPSE7lhpfPFRvmvuUVfCTPptKN0u 51fltaAtlkYPoLc0kFbK/2CKQYLNcNcaVbY6Ew4coDwNcRR4EQueNcfVswX4VX8LRKGB TAfw== X-Gm-Message-State: APjAAAXRrp8W/w6s4QR5jOLMDWM7TjWlGJ/Eqb76qPfHZmhebz6NzYp+ 6CQhhYeDBCmrKCg5dTvfeHV6+mz0FKj6RHLPbjzzPA== X-Received: by 2002:aca:5c06:: with SMTP id q6mr244007oib.175.1571842163611; Wed, 23 Oct 2019 07:49:23 -0700 (PDT) MIME-Version: 1.0 References: <20191023122150.GA2524@localhost.localdomain> In-Reply-To: <20191023122150.GA2524@localhost.localdomain> From: Bartosz Golaszewski Date: Wed, 23 Oct 2019 16:49:12 +0200 Message-ID: Subject: Re: [PATCH] gpio: bd70528: Add MODULE ALIAS to autoload module To: Matti Vaittinen Cc: Matti Vaittinen , Linus Walleij , linux-gpio , LKML Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org =C5=9Br., 23 pa=C5=BA 2019 o 14:22 Matti Vaittinen napisa=C5=82(a): > > The bd70528 GPIO driver is probed by MFD driver. Add MODULE_ALIAS > in order to allow udev to load the module when MFD sub-device cell > for GPIO is added. > > Fixes: 18bc64b3aebfa ("gpio: Initial support for ROHM bd70528 GPIO block"= ) > Signed-off-by: Matti Vaittinen > --- > I'm not really sure if this is a bug-fix or feature but I guess the > Fixes tag won't harm, right? It's definitely a feature, not a bug-fix. I applied it to for-next but dropped the tag. Bart > > drivers/gpio/gpio-bd70528.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/gpio/gpio-bd70528.c b/drivers/gpio/gpio-bd70528.c > index fd85605d2dab..8123260a92a2 100644 > --- a/drivers/gpio/gpio-bd70528.c > +++ b/drivers/gpio/gpio-bd70528.c > @@ -230,3 +230,4 @@ module_platform_driver(bd70528_gpio); > MODULE_AUTHOR("Matti Vaittinen "); > MODULE_DESCRIPTION("BD70528 voltage regulator driver"); > MODULE_LICENSE("GPL"); > +MODULE_ALIAS("platform:bd70528-gpio"); > -- > 2.21.0 > > > -- > Matti Vaittinen, Linux device drivers > ROHM Semiconductors, Finland SWDC > Kiviharjunlenkki 1E > 90220 OULU > FINLAND > > ~~~ "I don't think so," said Rene Descartes. Just then he vanished ~~~ > Simon says - in Latin please. > ~~~ "non cogito me" dixit Rene Descarte, deinde evanescavit ~~~ > Thanks to Simon Glass for the translation =3D]