Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp4799115ybv; Tue, 11 Feb 2020 03:44:13 -0800 (PST) X-Google-Smtp-Source: APXvYqylC05340eXngf42tkkmGeCIRSpybQl6AYgWUVK+bvC7+OZDMQMi+1hZIGpUdStPnhnwzmC X-Received: by 2002:aca:1913:: with SMTP id l19mr2459291oii.47.1581421453309; Tue, 11 Feb 2020 03:44:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581421453; cv=none; d=google.com; s=arc-20160816; b=CJXmgf/6XI80YS8Q44Krr59F0vXMkYvipiCELr4K0a3XVqyQuYr0jwrLqsueyMDrUr Dr692Npw8SJ25JF6BWBoz3FUyjJolnyrbMwMK/3BpeSPbzUjdriWkdxrPJevGyeA7qXg DrNJ3LCGQ1Wafy0ZQVWNhhT7T4ajUgQ+62kN52YRyZANcBub56zydku5QkjttaUILMpZ mOh15DuxgczUc8s5z/D1H3icD2kwtfAfhk3bPiuLOEjkLZc+XtvAjkKTI2APCI1w4SbL +MZLToytug36Szu9RBWyyB8lrodMVKgRUE1oQgfdodYuV5Sdy873WhuG0Rl556sS3nfS D8lA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=cV1Wais5QMnCi8AYrjauwcQtc7x8Akg7kC3DCHNTrfI=; b=b4WbAeqPeVciDOf6yp0PQV5dYSXBGEKp+isgtzNFECciw8xNMtmJr/FoQOfA7t7+lE j7K8WiATQt2+Zvq0HdKLOAx6ZcO0gUEbMIF6j7C2lmkOvshSvZK41JNaMFhkQSTFU7EE D1RPo66kQFtMHIn+kVr7EzySXeJJbrah+SgJjuATJvqTQFOx+ijZIGscnzfyZAd5ImnV nQ6HNcJ1auA9dBrHKsLFPc9X6D02mscmo+BdXJ53Z7yDCxYCFqfZy1r1q1DYSuSMJFKl behWIYdDC4320dfk3KSuxQyBjRqS5T6nw/X6PZwV3sDdXd3VdBeK8kRHMYBN3kJ52zvI jbOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=cKJVTis8; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=st.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k205si1661054oib.64.2020.02.11.03.44.01; Tue, 11 Feb 2020 03:44:13 -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; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=cKJVTis8; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=st.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728490AbgBKK4e (ORCPT + 99 others); Tue, 11 Feb 2020 05:56:34 -0500 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:60260 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727884AbgBKK4d (ORCPT ); Tue, 11 Feb 2020 05:56:33 -0500 Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 01BAuKJR011415; Tue, 11 Feb 2020 11:56:25 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=STMicroelectronics; bh=cV1Wais5QMnCi8AYrjauwcQtc7x8Akg7kC3DCHNTrfI=; b=cKJVTis8lYfFtJmiAwNtEstgu8ZuVu2qme2/jqgNfi7pG9/H8KjgeBt4JOPrcc/790wY ijOpUeKHTdkXZiW4s2GpQ5TARF1uFND/zPKxeJVMfGH/ryd4E4nglrEkvomKjcIfQ8uk NpGvOdYh0TnLxQYM7CLRDaaaz6ajHx3kv3l4loO3SAabEbPQEctkz8x6EQLXSmPLbPCv WwGQUUXgqs/50JLQEHG9Ho8g5q+ouF1s7IdkRvtR033cAT0Cpqu59gjz81I910V1mZ2x mBA1tHHsuktI3Gbi2QXPZE6za+GsD7erMLutX7W/4mdOMHvDKiNhlqVYISlpZIpGqecx PQ== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2y1ud9m85f-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 11 Feb 2020 11:56:25 +0100 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id A7594100050; Tue, 11 Feb 2020 11:56:20 +0100 (CET) Received: from Webmail-eu.st.com (sfhdag5node3.st.com [10.75.127.15]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 96D282AEAB8; Tue, 11 Feb 2020 11:56:20 +0100 (CET) Received: from localhost (10.75.127.44) by SFHDAG5NODE3.st.com (10.75.127.15) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Tue, 11 Feb 2020 11:56:20 +0100 From: Fabrice Gasnier To: CC: , , , , , , , , Subject: [PATCH] counter: stm32-timer-cnt: remove iio headers Date: Tue, 11 Feb 2020 11:56:06 +0100 Message-ID: <1581418566-31954-1-git-send-email-fabrice.gasnier@st.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.75.127.44] X-ClientProxiedBy: SFHDAG7NODE3.st.com (10.75.127.21) To SFHDAG5NODE3.st.com (10.75.127.15) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138,18.0.572 definitions=2020-02-11_03:2020-02-10,2020-02-11 signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The stm32-timer-cnt driver doesn't use the iio interface. The iio headers aren't relevant and can be removed as reported by William in [1]. With this change, mod_devicetable.h needs to be added to define the 'of_device_id' struct. [1] https://lkml.org/lkml/2020/2/10/1516 Reported-by: William Breathitt Gray Signed-off-by: Fabrice Gasnier --- Note this applies on top of: - "counter: stm32-timer-cnt: add power management support" --- drivers/counter/stm32-timer-cnt.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/counter/stm32-timer-cnt.c b/drivers/counter/stm32-timer-cnt.c index 50496f4..ef2a974 100644 --- a/drivers/counter/stm32-timer-cnt.c +++ b/drivers/counter/stm32-timer-cnt.c @@ -8,9 +8,8 @@ * */ #include -#include -#include #include +#include #include #include #include -- 2.7.4