Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp7040382imu; Thu, 31 Jan 2019 04:04:25 -0800 (PST) X-Google-Smtp-Source: ALg8bN6fTBA+HTGj+S+UGMHGB6POjx7cCiMihfRpgf+oBtk6dkPKmL5lQceHA70RmVQapZyLYxRz X-Received: by 2002:a17:902:128c:: with SMTP id g12mr33117981pla.146.1548936265395; Thu, 31 Jan 2019 04:04:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548936265; cv=none; d=google.com; s=arc-20160816; b=aJu5mRDSSkcBvDMvbOgq+6XwqoWfSY7HaXHJs1h7AhWR6yQ1v7WpYT30ES6zxM045k 0LhXlH7RuRAX1uC0MaKSPY27z4RZw4rpEPxOBi9NyPU1lEmk+PHvR18/L41aqESnKfzt 6kZmNaxLW5tCV81n0VBAGXvmpdUhZsIZxh+2BdwgvYvpdZ4gz5UBDoMNE5+FIpbDHKW4 aCKjQ/28bK+IOqrXMTSyra7kS2fZCbbB9omoWptZeLvqkGKrLuMxUctV7B5mME1IMPXF 15y/RSrd78E28AvUz981DQOyUCigcMqoIympzQil9aT1gp78q4poyeUWT/6xWMO2oFjL gcng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=RhIIaawKxXGdGw9tURA71dsUwy7rC8b83r901j6v9IA=; b=sqNZdLdkTW9l/Jj3A+RpBK5iMhdI+PRf73Dw8zBp3Kj3aeSErJnd2Eh6dOULwOIRRW F738e0y4kwftvaTJIST6GlPon5bM0CidUzd3QpCXxQrU8JkszyjsdY8LkBHov9qCWR1y hUsTE6U95HsiLynxqF8OiZzbGxe7b2VET0/jaAl1AePsEexuVHJDkVueMWs5A/Ic+5+E z5T8Qy49zMhZXLAVHsgc4vvqTWF3bBze6f+UtagVr5INDpMWRJNRcfAACfRhwHdR9cbz T467Q2eSkOWiopFI9jQh5fQ89e9N2NWRmThJ0NJyhvNfa7voeg3J0vWjuAF+Ec9hUNQi ZGXA== 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 e93si4752871plk.56.2019.01.31.04.04.08; Thu, 31 Jan 2019 04:04:25 -0800 (PST) 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 S1732616AbfAaMDe (ORCPT + 99 others); Thu, 31 Jan 2019 07:03:34 -0500 Received: from mail-lj1-f193.google.com ([209.85.208.193]:41275 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729892AbfAaMDe (ORCPT ); Thu, 31 Jan 2019 07:03:34 -0500 Received: by mail-lj1-f193.google.com with SMTP id k15-v6so2432515ljc.8; Thu, 31 Jan 2019 04:03:31 -0800 (PST) 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:references :mime-version:content-disposition:in-reply-to:user-agent; bh=RhIIaawKxXGdGw9tURA71dsUwy7rC8b83r901j6v9IA=; b=isq4djzK42Zi61cnIwyDQzLs8OZenMA0aFgPDpX1gLwuH5EktqQVD2DXeO8zbZE4oG Qj2qv2ENubBO67bX739neejCcLIqdZrQkxxGKdGP/qq8P4ZVRb6ZIXopTlY0IZ2QO1f0 XETID1TgiQWsxmwZwhFIJDKhzWe3VBGIlcBNvo4T/K5jpIfQJyCZY6ZJyHggpcOjWoCM gx3qoaniYp3y5maFil6hrEf01zs2wq4JW0qqqtguXCP83ehJ1G/v7JZHp8pkLzTRdOo1 uQfl2ZfH+Rv7Ge9m1Y3Bg65NVGXJpu3hO8geEBrYnoDJi5i2jT/ivy7Nk07MKZCqHsLE jFgw== X-Gm-Message-State: AJcUukdznd0ZbUZHtXMf1r0zme+g+BTRJk7f4rycsPMdROQRQ1KJIlrR eaiDAjhGGETmBBAOARk2Yhc= X-Received: by 2002:a2e:8007:: with SMTP id j7-v6mr28184294ljg.50.1548936211077; Thu, 31 Jan 2019 04:03:31 -0800 (PST) Received: from localhost.localdomain ([213.255.186.46]) by smtp.gmail.com with ESMTPSA id d5sm779370lfi.65.2019.01.31.04.03.29 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 31 Jan 2019 04:03:30 -0800 (PST) Date: Thu, 31 Jan 2019 14:03:18 +0200 From: Matti Vaittinen To: mazziesaccount@gmail.com, matti.vaittinen@fi.rohmeurope.com Cc: heikki.haikola@fi.rohmeurope.com, mikko.mutanen@fi.rohmeurope.com, lee.jones@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, broonie@kernel.org, gregkh@linuxfoundation.org, rafael@kernel.org, mturquette@baylibre.com, sboyd@kernel.org, linus.walleij@linaro.org, bgolaszewski@baylibre.com, sre@kernel.org, lgirdwood@gmail.com, a.zummo@towertech.it, alexandre.belloni@bootlin.com, wim@linux-watchdog.org, linux@roeck-us.net, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org, linux-pm@vger.kernel.org, linux-rtc@vger.kernel.org, linux-watchdog@vger.kernel.org Subject: [RFC PATCH v4 03/10] clk: bd718x7: use chip specific and generic data structs Message-ID: <6003ef36e7aa8a55c58a3328af106d2955280a95.1548935790.git.matti.vaittinen@fi.rohmeurope.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Header rohm-bd718x7.h was split to generic and component specific parts. This changed the struct bd718x7. Adapt the clk driver to these changes. Signed-off-by: Matti Vaittinen --- drivers/clk/clk-bd718x7.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/clk/clk-bd718x7.c b/drivers/clk/clk-bd718x7.c index 60422c72d142..461228ebf703 100644 --- a/drivers/clk/clk-bd718x7.c +++ b/drivers/clk/clk-bd718x7.c @@ -17,7 +17,7 @@ struct bd718xx_clk { u8 reg; u8 mask; struct platform_device *pdev; - struct bd718xx *mfd; + struct rohm_regmap_dev *mfd; }; static int bd71837_clk_set(struct clk_hw *hw, int status) @@ -68,7 +68,7 @@ static int bd71837_clk_probe(struct platform_device *pdev) int rval = -ENOMEM; const char *parent_clk; struct device *parent = pdev->dev.parent; - struct bd718xx *mfd = dev_get_drvdata(parent); + struct rohm_regmap_dev *mfd = dev_get_drvdata(parent); struct clk_init_data init = { .name = "bd718xx-32k-out", .ops = &bd71837_clk_ops, @@ -119,5 +119,5 @@ static struct platform_driver bd71837_clk = { module_platform_driver(bd71837_clk); MODULE_AUTHOR("Matti Vaittinen "); -MODULE_DESCRIPTION("BD71837 chip clk driver"); +MODULE_DESCRIPTION("BD71837/BD71847 chip clk driver"); MODULE_LICENSE("GPL"); -- 2.14.3 -- 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 ~~~