Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp7189588imu; Tue, 22 Jan 2019 01:45:58 -0800 (PST) X-Google-Smtp-Source: ALg8bN5doBV8OHlQ3iEtK2QEOmgJvimWSrv6j74WZX090NFnahPCbuP4Uy6ljgh3f73x/s9gGNP+ X-Received: by 2002:a17:902:9a07:: with SMTP id v7mr32824803plp.247.1548150358012; Tue, 22 Jan 2019 01:45:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548150357; cv=none; d=google.com; s=arc-20160816; b=hbxY+eAufOSCIvEXvVO+/npmltbvlE53eK6xT1RYFop1SeoJLKS0W+JV5bAKBWC0uc Xt9a2yqAKrt0JduVeXPotitZUDnXbsRkzzZTM1xdW+/4SLaL9HAixgPBHGhpQlPlitgD HkXFO//V8VbP1U+dFYNlIS3bIA8XA7Qp+uqnuceJjGgPNtThF+vUwAEa5lkVRXJ5DpXy XiKzzgEUecFjCZz06x6/tslqfw4DL5xf7ydnr0pBXI2i7IF0npnwxX/iq8R0kfsRoLVm i6CCJ4vSAOSKerJqp43bGuUJH49DI7uBvml7UDsGtv69wC/n8T3iQnD6/gnKG7H/XaV6 8TfQ== 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=yCgchzQtuH0OVZG2DmuNzUVZhYI6DJEDxJMBY6NGg9Q=; b=g2XMLIcawoErN9lxzhH6zQGzQUnJ5YcizwIeLoeoEX4XZtUAu5y2eA284oc4Eyx/GK GcaZGcGnSjSt3ZbPa4boqn2CjDU2IzrQXwnnZpNOv+FEq8a1rYGJ2lSfOT/TQkJLFuXv WEoSc7ZHxneQNjIEXYcGUoznqVLDmDuY/IivWfzH/Y87ad4RxLLu2O9Gi+ighjwssUbP oq2eTlrDQLWUwKttNAtLKSZV9ZxdeSJJ5lpA0imyveo9sOhg+rbfXkPk1j1nlbM/cMnP QggbpirSjPGAJj5oMtQTEEK55jL8lh7+Y+xSX6KV/lL5ibHu3dYl8eppRZzokBvHnfgi noTw== 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 s73si14036565pfs.54.2019.01.22.01.45.42; Tue, 22 Jan 2019 01:45:57 -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 S1728032AbfAVJoU (ORCPT + 99 others); Tue, 22 Jan 2019 04:44:20 -0500 Received: from mail-lf1-f65.google.com ([209.85.167.65]:42952 "EHLO mail-lf1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727274AbfAVJoT (ORCPT ); Tue, 22 Jan 2019 04:44:19 -0500 Received: by mail-lf1-f65.google.com with SMTP id l10so17551850lfh.9; Tue, 22 Jan 2019 01:44:17 -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=yCgchzQtuH0OVZG2DmuNzUVZhYI6DJEDxJMBY6NGg9Q=; b=JPCnmw+IqTOfTUNgXUF68yx2Tuq5swWSqFDt3yCC0U6LjmLn8td08WJPgxyIiAkr37 qpJkOUQqCiVfKZ8q5dJgBc5i2RtMYPQiXT3jDkBlBnZ53rYrRAo/wA3ITb4+hMIDQjzI FT5p5WzxaDGMTa21LTDKlAcjMwmm2Zf05EGXasqQnA36vjUbpaAUZtfblJb/kZJ3RTik IqA8UhwQGY3S5RQ4cSKBAvtHx26HW9wxus5z5ET8iwWjaK7y4y68P/KqykS/3Uf5FIP6 6HT0z9eUGTFVDuahm8Zw+53y6/cRE57DqJdulZv1bkVp1k+37ThIFjFsQbLbUZaFc6h3 GLYw== X-Gm-Message-State: AJcUukd7ig5LaW5hqKGR4HK+NWt6xnABQyPGgAr0vUpC/EXYTJcUzJ1e dv5aIOIcoLP+ZDVdgC1KPm0= X-Received: by 2002:a19:5d42:: with SMTP id p2mr21090370lfj.83.1548150256511; Tue, 22 Jan 2019 01:44:16 -0800 (PST) Received: from localhost.localdomain ([213.255.186.46]) by smtp.gmail.com with ESMTPSA id a20-v6sm2780408ljf.28.2019.01.22.01.44.14 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 22 Jan 2019 01:44:16 -0800 (PST) Date: Tue, 22 Jan 2019 11:44:02 +0200 From: Matti Vaittinen To: matti.vaittinen@fi.rohmeurope.com, mazziesaccount@gmail.com Cc: lee.jones@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, lgirdwood@gmail.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, 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, mikko.mutanen@fi.rohmeurope.com, heikki.haikola@fi.rohmeurope.com Subject: [RFC PATCH v1 04/13] clk: bd718x7: use chip specific and generic data structs Message-ID: 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 ROHM Semiconductors ~~~ "I don't think so," said Rene Descartes. Just then, he vanished ~~~