From patchwork Wed Jun 7 19:32:09 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 9772697 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 25D0B603B4 for ; Wed, 7 Jun 2017 19:32:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1923922376 for ; Wed, 7 Jun 2017 19:32:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0DC08283C0; Wed, 7 Jun 2017 19:32:54 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 95D1A22376 for ; Wed, 7 Jun 2017 19:32:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Subject:Date: Message-Id:In-Reply-To:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: References:List-Owner; bh=XWiJchOO04j09rPEIXeqL/btYfBGJpQM6+CZiiTB6D8=; b=fdw WkSvfdn5qze/FmAN6Q2+HUfRyiYBsRmJh+p+VR5FqvqGs5N40XsrD/gFNRqMsLmUssiYsy8zl4pIe 7VBnv5mKcmQLLFg4UXYjxKSkudDwJ7iqd2zrM+5ZHe6KT0MI5MJkl7cp6fhCQ+nedYHIA1XsL1V5R nRXPEV6lhdslTnDVvhSZK4MyA4Wfcm1DpUqHyS0vm+zG+e1ZMktxOruDT/GQvCNDo1ps0bbJkGuit H19Q+dYx3GL74ioFoEWOEtMmTpOQVAGkEVNdzQes/xTCIBCIaakC3/I//3UrYiK8V31Sp4ksBYUf5 qIar79Y4LN9a2uS1yxp227Ng8dVXPkQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dIghI-0002te-PG; Wed, 07 Jun 2017 19:32:52 +0000 Received: from mezzanine.sirena.org.uk ([2400:8900::f03c:91ff:fedb:4f4]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dIghF-0002rP-DA for linux-arm-kernel@lists.infradead.org; Wed, 07 Jun 2017 19:32:51 +0000 Received: from [2001:470:1f1d:6b5::3] (helo=debutante) by mezzanine.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dIggd-0001n3-PI; Wed, 07 Jun 2017 19:32:14 +0000 Received: from broonie by debutante with local (Exim 4.89) (envelope-from ) id 1dIggb-0003ma-2K; Wed, 07 Jun 2017 20:32:09 +0100 From: Mark Brown To: Guodong Xu In-Reply-To: <20170602085117.27474-5-guodong.xu@linaro.org> Message-Id: Date: Wed, 07 Jun 2017 20:32:09 +0100 X-SA-Exim-Connect-IP: 2001:470:1f1d:6b5::3 X-SA-Exim-Mail-From: broonie@sirena.org.uk Subject: Applied "regulator: hi6421: Describe consumed platform device" to the regulator tree X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000) X-SA-Exim-Scanned: No (on mezzanine.sirena.org.uk); Unknown failure X-Bad-Reply: In-Reply-To but no 'Re:' in Subject. X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170607_123249_659480_6BF4DAEA X-CRM114-Status: GOOD ( 12.76 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, geert+renesas@glider.be, eric@anholt.net, catalin.marinas@arm.com, linus.walleij@linaro.org, will.deacon@arm.com, linux-kernel@vger.kernel.org, yamada.masahiro@socionext.com, krzk@kernel.org, lee.jones@linaro.org, khilman@baylibre.com, damm+renesas@opensource.se, xuwei5@hisilicon.com, treding@nvidia.com, devicetree@vger.kernel.org, arnd@arndb.de, Jeremy Linton , robh+dt@kernel.org, gregory.clement@free-electrons.com, horms+renesas@verge.net.au, linux-arm-kernel@lists.infradead.org, thomas.petazzoni@free-electrons.com, ard.biesheuvel@linaro.org, riku.voipio@linaro.org, hw.wangxiaoyin@hisilicon.com, lgirdwood@gmail.com, broonie@kernel.org, olof@lixom.net MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The patch regulator: hi6421: Describe consumed platform device has been applied to the regulator tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark From a8ea49d7f589fac1994a3b0af59f25cb284f3eb6 Mon Sep 17 00:00:00 2001 From: Guodong Xu Date: Wed, 7 Jun 2017 15:06:04 +0800 Subject: [PATCH] regulator: hi6421: Describe consumed platform device The hi6421-regulator driver consumes a similarly named platform device. Adding that to the module device table, allows modprobe to locate this driver once the device is created. Signed-off-by: Guodong Xu Signed-off-by: Mark Brown --- drivers/regulator/hi6421-regulator.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/drivers/regulator/hi6421-regulator.c b/drivers/regulator/hi6421-regulator.c index 62c5f5445d44..259c3a865ac6 100644 --- a/drivers/regulator/hi6421-regulator.c +++ b/drivers/regulator/hi6421-regulator.c @@ -621,7 +621,14 @@ static int hi6421_regulator_probe(struct platform_device *pdev) return 0; } +static const struct platform_device_id hi6421_regulator_table[] = { + { .name = "hi6421-regulator" }, + {}, +}; +MODULE_DEVICE_TABLE(platform, hi6421_regulator_table); + static struct platform_driver hi6421_regulator_driver = { + .id_table = hi6421_regulator_table, .driver = { .name = "hi6421-regulator", },