From patchwork Tue Jan 22 09:44:02 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matti Vaittinen X-Patchwork-Id: 1029169 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-rtc-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=fi.rohmeurope.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 43kNmS69XHz9s1l for ; Tue, 22 Jan 2019 20:44:24 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728020AbfAVJoU (ORCPT ); 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-Google-Smtp-Source: ALg8bN6R+9X44EQUxVdaD9WzOt+yJoWGkVGKsucSp/bbWpH3ZGm91Cz4wGhWlCK/6IY4Z1Wrkx1R4Q== 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-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-rtc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rtc@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");