Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1586876ybz; Thu, 30 Apr 2020 01:54:54 -0700 (PDT) X-Google-Smtp-Source: APiQypJhcvOsjFEbSHD/JxVQwGx8NKCpWaeIaifym1sYJF03LfcZ3Om4NQddlNHLPBHdESCRFzo4 X-Received: by 2002:a17:906:3c8:: with SMTP id c8mr1778950eja.66.1588236894769; Thu, 30 Apr 2020 01:54:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588236894; cv=none; d=google.com; s=arc-20160816; b=ENvuubuo3LvfiPxYa5kgqDgYOAbDCccLzPNuYAap9/kKR+QpFFIs7o8f19602BaHop WCmPKEP89Xm1G5asriRy+yDNTkQ+cWj6n4/gksqlIRKwVPuiwNkevP9ItxgU6fDf8430 LTxC7hyyAce7HnbO3P+g+Y53muf1aMLoOEyuREgbEh9PYTgIXtV9jmn93z+CjjvKf5lA JM6sU9ePODz4I8h6Qd4mVaJqNnAMdzxcfzWktIvlfwUxThBCaddhL1ljaV66RYGjSi7o mxN+wuTTgIbRMWGtyzWdL85pG4l1QanwSknp50+nfM40tIr91cpidjaxoE2BhVvqPE3y pA7Q== 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; bh=3LJ/P2lXrHb8KKKeZ/AmSmTdbZZ77mVzGBtxi6mjapE=; b=gSSNOfV1ZoUg9fuWygdB642nmWwrHxQrGGYFw8yRRFRaNIrGfTaGunZvoYnw/iv4Fy WbKKdtwsOFTGNFwrQ7CNudB5ox9jQ8kP/d793KeZln0KrYqPmsYUYFlBcOWq2mtfF2Hj nP+0xaqYqy2l2N3DwBmc1Ns3q3oqneoJ2XuZGq5T0wBZwZAW/BJVkB06viBnDLuOuRgi onZcDy6egCcwoyof0GVd8OUa8gzf88hmfO8TdCWxGmFTEsBODi6IWbvCxpcVqfiPY/Hv H4gf687f6T3+M5gNfEnQbg4dLHoFpcpfQOROt61oxL/gNd0SgsjDgC5lJJPPH4gB1wyc NF/w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s12si5302250ejr.463.2020.04.30.01.54.31; Thu, 30 Apr 2020 01:54:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726621AbgD3Iwu (ORCPT + 99 others); Thu, 30 Apr 2020 04:52:50 -0400 Received: from mx0a-00128a01.pphosted.com ([148.163.135.77]:49670 "EHLO mx0a-00128a01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726412AbgD3Iwt (ORCPT ); Thu, 30 Apr 2020 04:52:49 -0400 Received: from pps.filterd (m0167088.ppops.net [127.0.0.1]) by mx0a-00128a01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 03U8nTxk003275; Thu, 30 Apr 2020 04:52:48 -0400 Received: from nwd2mta4.analog.com ([137.71.173.58]) by mx0a-00128a01.pphosted.com with ESMTP id 30pes2gct2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 30 Apr 2020 04:52:48 -0400 Received: from SCSQMBX11.ad.analog.com (scsqmbx11.ad.analog.com [10.77.17.10]) by nwd2mta4.analog.com (8.14.7/8.14.7) with ESMTP id 03U8qkZL039832 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=FAIL); Thu, 30 Apr 2020 04:52:47 -0400 Received: from SCSQCASHYB6.ad.analog.com (10.77.17.132) by SCSQMBX11.ad.analog.com (10.77.17.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1779.2; Thu, 30 Apr 2020 01:52:45 -0700 Received: from SCSQMBX10.ad.analog.com (10.77.17.5) by SCSQCASHYB6.ad.analog.com (10.77.17.132) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1779.2; Thu, 30 Apr 2020 01:52:14 -0700 Received: from zeus.spd.analog.com (10.64.82.11) by SCSQMBX10.ad.analog.com (10.77.17.5) with Microsoft SMTP Server id 15.1.1779.2 via Frontend Transport; Thu, 30 Apr 2020 01:52:45 -0700 Received: from localhost.localdomain ([10.48.65.12]) by zeus.spd.analog.com (8.15.1/8.15.1) with ESMTP id 03U8qgrv001396; Thu, 30 Apr 2020 04:52:43 -0400 From: Alexandru Ardelean To: , CC: , Alexandru Ardelean Subject: [PATCH] iio: remove iio_get_debugfs_dentry() helper Date: Thu, 30 Apr 2020 11:52:59 +0300 Message-ID: <20200430085259.2829-1-alexandru.ardelean@analog.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-ADIRoutedOnPrem: True X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138,18.0.676 definitions=2020-04-30_03:2020-04-30,2020-04-30 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 spamscore=0 mlxscore=0 suspectscore=0 bulkscore=0 phishscore=0 priorityscore=1501 clxscore=1015 malwarescore=0 impostorscore=0 lowpriorityscore=0 mlxlogscore=995 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2004300072 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Not used anywhere. Looks like it was forgotten in iio.h Signed-off-by: Alexandru Ardelean --- include/linux/iio/iio.h | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/include/linux/iio/iio.h b/include/linux/iio/iio.h index 38c4ea505394..1a1da52c55cf 100644 --- a/include/linux/iio/iio.h +++ b/include/linux/iio/iio.h @@ -696,22 +696,6 @@ static inline bool iio_buffer_enabled(struct iio_dev *indio_dev) INDIO_BUFFER_SOFTWARE); } -/** - * iio_get_debugfs_dentry() - helper function to get the debugfs_dentry - * @indio_dev: IIO device structure for device - **/ -#if defined(CONFIG_DEBUG_FS) -static inline struct dentry *iio_get_debugfs_dentry(struct iio_dev *indio_dev) -{ - return indio_dev->debugfs_dentry; -} -#else -static inline struct dentry *iio_get_debugfs_dentry(struct iio_dev *indio_dev) -{ - return NULL; -} -#endif - ssize_t iio_format_value(char *buf, unsigned int type, int size, int *vals); int iio_str_to_fixpoint(const char *str, int fract_mult, int *integer, -- 2.17.1