From patchwork Fri Jan 24 09:31:04 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 233298 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 082F5C32771 for ; Fri, 24 Jan 2020 09:40:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C70722087E for ; Fri, 24 Jan 2020 09:40:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1579858818; bh=zyHrLvgJxUsFpD6lNVqDuE5w0wAKMj/sUOlqGS1CDgM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=XCKvHQfVgWkkFgTVSO/E3csulreDs8K3hWZH9ipHyJFo6/ekhbNlEYvu1FAEhdJsM zh1ZMgmR3SixastvLcJFjqSgBFbQns5IqqdknRrJldh4tDchPCJKe0S54T15PLUXVK uPmeVfZLQPD1XJ17nIZqkwVGuQA0l3K4JpkchWDw= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732375AbgAXJkP (ORCPT ); Fri, 24 Jan 2020 04:40:15 -0500 Received: from mail.kernel.org ([198.145.29.99]:37576 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732283AbgAXJkO (ORCPT ); Fri, 24 Jan 2020 04:40:14 -0500 Received: from localhost (unknown [145.15.244.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 2121A214AF; Fri, 24 Jan 2020 09:40:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1579858813; bh=zyHrLvgJxUsFpD6lNVqDuE5w0wAKMj/sUOlqGS1CDgM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NyVXJs9YK6oSKnEm01d9WVIUsh/xXX7b8P45VPOjIvow23XEpzFg0qPzE6AiWN8L1 ywd+K/LQ73iWflo44aaGETwo6xaQtjb2sV5WEiOgtzpYDBox5tAtRG2sYyf/6Dk1Ji 7DNpHyZADLoNhvC02N0jtRmuCzgBUpqDCPK4iNps= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Matti Vaittinen , Mark Brown , Sasha Levin Subject: [PATCH 5.4 063/102] regulator: bd70528: Add MODULE_ALIAS to allow module auto loading Date: Fri, 24 Jan 2020 10:31:04 +0100 Message-Id: <20200124092815.862841603@linuxfoundation.org> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200124092806.004582306@linuxfoundation.org> References: <20200124092806.004582306@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Matti Vaittinen [ Upstream commit 55d5f62c3fa005a6a8010363d7d1855909ceefbc ] The bd70528 regulator driver is probed by MFD driver. Add MODULE_ALIAS in order to allow udev to load the module when MFD sub-device cell for regulators is added. Fixes: 99ea37bd1e7d7 ("regulator: bd70528: Support ROHM BD70528 regulator block") Signed-off-by: Matti Vaittinen Link: https://lore.kernel.org/r/20191023121452.GA1812@localhost.localdomain Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- drivers/regulator/bd70528-regulator.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/regulator/bd70528-regulator.c b/drivers/regulator/bd70528-regulator.c index 6041839ec38ca..5bf8a2dc5fe77 100644 --- a/drivers/regulator/bd70528-regulator.c +++ b/drivers/regulator/bd70528-regulator.c @@ -285,3 +285,4 @@ module_platform_driver(bd70528_regulator); MODULE_AUTHOR("Matti Vaittinen "); MODULE_DESCRIPTION("BD70528 voltage regulator driver"); MODULE_LICENSE("GPL"); +MODULE_ALIAS("platform:bd70528-pmic");