Received: by 10.223.185.116 with SMTP id b49csp1821171wrg; Sat, 24 Feb 2018 04:57:34 -0800 (PST) X-Google-Smtp-Source: AH8x226Pt2axzZY3f0+23JbIMsTjrv/n4cPQH3RvFL31Hw6xU61yv93QdqcCamycW6gl0GrMSY2e X-Received: by 10.98.63.75 with SMTP id m72mr4936372pfa.122.1519477054067; Sat, 24 Feb 2018 04:57:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519477054; cv=none; d=google.com; s=arc-20160816; b=VFK2R69EfP7aHeLyUvmMqPNDntc6Etiwvy8x8ujJTteGxI+LeF1TUJXtOF1jUkUPtI 8INRGjI0SZ+fMNPdVN09BtKY8CaGFRSyDOPRcP1Qo7as4J9thnPjTVGJSIr0iaBgZ65l n/AWDkmk5dw/iUPpOH4C9pFcg3yyrAF0Bjar/MqEBmR17ztfXj7F+CW0UBSb8ENA6G7V cLwflYPSskm6nLeM9kmgnVoYyWl9M9QDtBCSY9GebHewohBXLcbqANOitCTcwYdfJ5mg oYsX5As3V1gRybkYwKBtFULTM2dvfc/+TXRvVm+aLoYe6gk00trJpO7Ey6PhHPS+anWY KLHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dmarc-filter:arc-authentication-results; bh=hihJIq19JSfFP/oo5+B8Ir02hXOHVq1RBwRpOfslFZQ=; b=GMhjUl5uMeLMQiE6x6Q9xiMU5vPIufPco4OMwyY5Z6xWJipgpgQi85Z/Bc5A714UkF kMi0ZLGIi/1UdWHejyPYhyfdiA7amJbp9yk5XuU/il4YURze61tr7c9P3SXC56qfc9At W+9QKRrvpYeCBkeMRE3LXWJXsX8RRFbo/xsR5sYKhyX4hAbaforbEctY3Fcz8qVVKuCM 9oK3Et2EgM4OxlXUyJMaFvYUBR25F9Jdwg98JrdLN3DAERvYvodclr2yO9Nk80zidM+0 St8e58gZnlEWk+TwBgYNzs9bdvJ+j+KzRTZR1659qbucCxpCqXZRW4N5eQ0tBrmsGFBU MdZQ== 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 t137si2915653pgb.808.2018.02.24.04.57.19; Sat, 24 Feb 2018 04:57:34 -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 S1751422AbeBXM4l (ORCPT + 99 others); Sat, 24 Feb 2018 07:56:41 -0500 Received: from mail.kernel.org ([198.145.29.99]:44760 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750934AbeBXM4j (ORCPT ); Sat, 24 Feb 2018 07:56:39 -0500 Received: from archlinux (cpc91196-cmbg18-2-0-cust659.5-4.cable.virginm.net [81.96.234.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 4F32F21741; Sat, 24 Feb 2018 12:56:37 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4F32F21741 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=jic23@kernel.org Date: Sat, 24 Feb 2018 12:56:34 +0000 From: Jonathan Cameron To: Fabrice Gasnier Cc: , , , , , , , , , Subject: Re: [PATCH 1/7] iio: adc: stm32-dfsdm: fix compatible data use Message-ID: <20180224125634.0035d81f@archlinux> In-Reply-To: <1519390261-25453-2-git-send-email-fabrice.gasnier@st.com> References: <1519390261-25453-1-git-send-email-fabrice.gasnier@st.com> <1519390261-25453-2-git-send-email-fabrice.gasnier@st.com> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 23 Feb 2018 13:50:55 +0100 Fabrice Gasnier wrote: > Fix use of compatible data: stm32h7 regmap configuration is statically > used. Rather use regmap_cfg from compatible data. > > Fixes: bed73904e76f ("IIO: ADC: add stm32 DFSDM core support") > > Signed-off-by: Fabrice Gasnier Applied to the fixes-togreg branch of iio.git Thanks, Jonathan > --- > drivers/iio/adc/stm32-dfsdm-core.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/iio/adc/stm32-dfsdm-core.c b/drivers/iio/adc/stm32-dfsdm-core.c > index 6290332..0635f93 100644 > --- a/drivers/iio/adc/stm32-dfsdm-core.c > +++ b/drivers/iio/adc/stm32-dfsdm-core.c > @@ -274,7 +274,7 @@ static int stm32_dfsdm_probe(struct platform_device *pdev) > > dfsdm->regmap = devm_regmap_init_mmio_clk(&pdev->dev, "dfsdm", > dfsdm->base, > - &stm32h7_dfsdm_regmap_cfg); > + dev_data->regmap_cfg); > if (IS_ERR(dfsdm->regmap)) { > ret = PTR_ERR(dfsdm->regmap); > dev_err(&pdev->dev, "%s: Failed to allocate regmap: %d\n",