From mboxrd@z Thu Jan 1 00:00:00 1970 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=-8.5 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_PASS,URIBL_BLOCKED, USER_AGENT_MUTT 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 B6CA1C282DA for ; Tue, 5 Feb 2019 09:05:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 922552146F for ; Tue, 5 Feb 2019 09:05:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728577AbfBEJF3 (ORCPT ); Tue, 5 Feb 2019 04:05:29 -0500 Received: from mail-lf1-f65.google.com ([209.85.167.65]:39454 "EHLO mail-lf1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725898AbfBEJF2 (ORCPT ); Tue, 5 Feb 2019 04:05:28 -0500 Received: by mail-lf1-f65.google.com with SMTP id z26so2035956lfj.6; Tue, 05 Feb 2019 01:05:26 -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=YrxXU8ZOA/Kt9DVpbqbIR5rpYIcF/54+KB7BVTSnSpnpfTuUetija5JkqKLg98Igvv Zp2W0Ifpi5q1blNwT2JZtSt5ujaCPCX8DFSrih0LQgzg0DOlrqPvyC6HydWOoUvCiXO6 o+AwWTivhNDaLn22IlItPEkAP+dBl7tdJ8t68g7aLc05BuiBdqTyQDqyIeiP/cJFaGNV COmdfsHkGQ6n6cUpufPWW0lzHzig6j0fePiEzXqqfARhR1V5TFfcTUMCdnyEtaupgmKj R28dCdO7/0IHsF1kb1FIrG7YtokSwwa3oJdEg9E8wzLYSrRQYhdRlD1lTRz3ritBQpOF cbdA== X-Gm-Message-State: AHQUAubCrt2BRgd40JvnzfIeLNXyNr6ZTXegd8gCEBmR3T27//6WghT2 gVArgzaGaOWSd6bRGaFOtrs= X-Google-Smtp-Source: AHgI3IaeUbPFNnncCLms+yhyABJDfmAGb/TkTFxnJS4TLgWDKHHiJeBpty6E2DYjIhyhnrxM51m60g== X-Received: by 2002:ac2:561a:: with SMTP id v26mr2405632lfd.38.1549357525608; Tue, 05 Feb 2019 01:05:25 -0800 (PST) Received: from localhost.localdomain ([213.255.186.46]) by smtp.gmail.com with ESMTPSA id p14sm36384lfk.16.2019.02.05.01.05.23 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 05 Feb 2019 01:05:24 -0800 (PST) Date: Tue, 5 Feb 2019 11:05:12 +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: [PATCH v6 03/10] clk: bd718x7: use chip specific and generic data structs Message-ID: <6003ef36e7aa8a55c58a3328af106d2955280a95.1549356505.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-watchdog-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-watchdog@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 ~~~