Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp1105051ybg; Wed, 23 Oct 2019 10:24:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqyAcrsFRlaWzGkjs0nh8yK0VpKGN9iwXAg4vAnVYxnXvAw+uirdwm955ta6tKy1u8UL5nkB X-Received: by 2002:a50:fa42:: with SMTP id c2mr25372384edq.112.1571851493569; Wed, 23 Oct 2019 10:24:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571851493; cv=none; d=google.com; s=arc-20160816; b=0Ozytjjdi5VvTbr5mKry8bwrdeMIHA+9FGgy90VOIDgggbmxEODrW6KB9keo4Ut56i ey9FDOYl8wH1Sl7krC7glZPCUZIb810l5wTrH+cEo+ZhB3u5XbQPl3Cj88luELU8lJ+W UCF2qzAkmspxe0xW2i9aH0oAwRYFqFrflj0t6luMzEWq7FoC4ug0DjoIcdPcm9yCq2YL r52dwpNmerIa+ifMLEBv01XsPUtGEXZN8pUmyLcg0dnirFyXbydjxTlSylbjDUJZfu/N vQ+bTDid+ZbBQ2Ttb0o+OCzpMYsiJrOnHMnsiRO15cyJTRXLGuSLn9XtklTd0cheigc6 lCTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:cc:to:from:date; bh=JcGUwHNUmi5qOF1a27ni/CENfjWZcZrztrncDMQ0bW8=; b=Wy+sVEirYhQKUuCAW6SVqFGI2yX5YyQqiByFP+3QRvq8RCPglL4dwEQfFE8SXzM2b0 HCjvsYYuAYRI2YzY05XG5KUCFMCQJu5uSqs6s3bx6M9/q0Fodxgjl6aK2rURzXXeuL5e ZqthVmTnYcK51nBOeBqH5QnkHQHJa1RQ17czNBzPh4LpeTCB/kCU8VYSb7ipVJEggd8C CmO/BKdojfNBcy+B4W/ka1cRpKs2LE0blhbBrWP08U0zKKzwYlUu/HPgzv4iGB7hbm6W TEgHZDM5QGKwtslulUrMK1N19KnsvazUncv6oERwtcJZsQ/yZT+ZzojfO+jfy/SAQSEh pAJQ== 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 p5si9348743eja.141.2019.10.23.10.24.29; Wed, 23 Oct 2019 10:24:53 -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 S2390093AbfJWMfe (ORCPT + 99 others); Wed, 23 Oct 2019 08:35:34 -0400 Received: from mail-lj1-f194.google.com ([209.85.208.194]:39427 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731301AbfJWMfe (ORCPT ); Wed, 23 Oct 2019 08:35:34 -0400 Received: by mail-lj1-f194.google.com with SMTP id y3so20939447ljj.6; Wed, 23 Oct 2019 05:35:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:user-agent; bh=JcGUwHNUmi5qOF1a27ni/CENfjWZcZrztrncDMQ0bW8=; b=D64ET+S/rv4gHRo0XeFvrV4wEcIce2rA2FSbjIKBtweLKnw6tTvqMk7ayU9TQg9pu/ pNywHqqrjFMUxt3sBygBH5BBrP3urjnGedt1rmBMNUHwZRH8M2syjtXDa0BemRrZbvii Br6eZRW/9w83ZJlIxsg4+6pi5tOc86tDjyhX9gfPWSdtUgZgtL59GL4uxW2Mlr1o1/91 6wyOszlXvnA6kgw8avDeQxDzVDUqBfUWB349TsduJmhhOkHlH+5NJjfNm4I1OMjfXNjw /xfh+rp9L+wPLMOfLr5ZtCneKPwL7BCCTEWHwN7YFpvxZHedpSdDyCN88KAYBnzuT8dC rL8w== X-Gm-Message-State: APjAAAWXxpb2iunLzzMa2XRK+8rs8Xe3omAdD0CVhGcmAbLEKiBKeZV0 JgO1YV4zZhpdHkTivm/kWxb9Xj1uwnw= X-Received: by 2002:a2e:9b55:: with SMTP id o21mr22260129ljj.52.1571834131816; Wed, 23 Oct 2019 05:35:31 -0700 (PDT) Received: from localhost.localdomain ([213.255.186.46]) by smtp.gmail.com with ESMTPSA id g3sm2488517lfb.58.2019.10.23.05.35.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Oct 2019 05:35:31 -0700 (PDT) Date: Wed, 23 Oct 2019 15:35:24 +0300 From: Matti Vaittinen To: matti.vaittinen@fi.rohmeurope.com, mazziesaccount@gmail.com Cc: Sebastian Reichel , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] power: supply: bd70528: Add MODULE_ALIAS to allow module auto loading Message-ID: <20191023123453.GA2918@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The bd70528 charger driver is probed by MFD driver. Add MODULE_ALIAS in order to allow udev to load the module when MFD sub-device cell for charger is added. Fixes: f8c7f7ddd8ef0 ("power: supply: Initial support for ROHM BD70528 PMIC charger block") Signed-off-by: Matti Vaittinen --- Not sure if this should be bugfix or new feature. I don't think Fixes tag is a problem though. drivers/power/supply/bd70528-charger.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/power/supply/bd70528-charger.c b/drivers/power/supply/bd70528-charger.c index 1bb32b7226d7..b8e1ec106627 100644 --- a/drivers/power/supply/bd70528-charger.c +++ b/drivers/power/supply/bd70528-charger.c @@ -741,3 +741,4 @@ module_platform_driver(bd70528_power); MODULE_AUTHOR("Matti Vaittinen "); MODULE_DESCRIPTION("BD70528 power-supply driver"); MODULE_LICENSE("GPL"); +MODULE_ALIAS("platform:bd70528-power"); -- 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 =]