From patchwork Thu Aug 30 15:44:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philipp Rossak X-Patchwork-Id: 10582171 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B7C2614BD for ; Thu, 30 Aug 2018 15:53:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A53512C0E2 for ; Thu, 30 Aug 2018 15:53:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 975B52C0E5; Thu, 30 Aug 2018 15:53:23 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 3EF2C2C0E2 for ; Thu, 30 Aug 2018 15:53:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=MOflCeG1IXTto/o1PJc6m2YhNDkaFL97duU19jeBmjs=; b=AvhadVGDCDFpTRcYNHMErrPHge okOP/O5/sIH/KLEiFtwg23kAG+gsZtanqscAVpszuZ7BVEdsbIYeN0qqUjsX3pMwc+ZwGgh8/JxqN rrw4QJFCzMqi67IG8hnHb6ZL9jGjpvtyDJRmwLWrFMzPoROQmnM732xKbN9rQCD55zhC06ssYTq33 z9sYoqdgLaY7gPaNFxa6+aybMStKjHPo0puXIJI5KUSo0GJOzjkohIe5qgst9y6hs5VzKvygdnm33 H7XqFYxJbDo2tpARo0eM89buJh6nTPgU0RzvgGe5ZSgkhwqcpmk5+YDtdstQGqg9aPxoRbR0kNMMi oeeOdd1w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fvPFy-0005w3-MD; Thu, 30 Aug 2018 15:53:14 +0000 Received: from mail-wm0-x244.google.com ([2a00:1450:400c:c09::244]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fvP8d-0001am-Bf for linux-arm-kernel@lists.infradead.org; Thu, 30 Aug 2018 15:45:41 +0000 Received: by mail-wm0-x244.google.com with SMTP id n11-v6so2499363wmc.2 for ; Thu, 30 Aug 2018 08:45:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=awFDsrjcpE5oAq0WnCWku0Gz21mtatXT2tD8s1pCm9w=; b=CVRJpklCpNJsCTdg11FncVMkwcUQVQA1BlM9n47a9EIY+R8d0ofPHmS9q1EC0UfDpz H2452z7JiwuolbMoiF3yM8uBLqKqjxwwzTTyYnsXToWWncvcQatk5kdzcjJF3OMmra9u /YVDw+o+2STQj+nJ27FduOkNCuLLMzKbCauXkUMDbKROroYSTPwrubhV+qFrgpXltUrz Lf+9SNEDKW2pq3y4UctwY1h35sbR9XFJ6oOTDaOnH9k7xxBNm8/qHPyi42CBOwMs/i35 hYGEmuv2bPwXDMCze5yzAUgs1ncm+KZ/YCKWY/I5sh27ZeQDdvTS+EgwbaZ6C5fmRax0 cELQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=awFDsrjcpE5oAq0WnCWku0Gz21mtatXT2tD8s1pCm9w=; b=lZw51U2TmCHZv/HOeJwOQwK1JZlCOYXHWxKAxL2LmDbT6ogc+Xnt7dmOIwL+REED9H f6c3EGcupHtfxvg0HOvLgnVBWSbS0ZahEMSifZC24Sg9VRPMj4zKwSSDNVJ4+ei/A3VY VixDQ4i/vn+4MCXV3Yoqv5hTuIlzeL9I15TDH1gPoh2sRd60Nm/q0zDrcX/b0H+tywQc cYJWl3S2aHVwyHk7+U0CpeLvXLHqG11xHf8g5OTpAHjuZeA2DdUo5705kd7XHd0JjPmI IpSaRUyqb4BVEiFNIioI7oMAaqsrIy3yIrPCn/wRtHqrZ9eSFCi9DLNmi5RZIOJOTr3X AzPg== X-Gm-Message-State: APzg51BQimWt61VWaM8NI2Zc2fcXwf+8ahqyrSOD83MAq81uebfakerW Q6RFWjxRT5lfv1ta6q0dIhM= X-Google-Smtp-Source: ANB0VdaiSw2OprTQRSxIQK11FYUAWcbWxEvRfhNWqaQJhP7+j8aNXVGYvRjkqXfQz97UM7mg5BLNIw== X-Received: by 2002:a7b:c096:: with SMTP id r22-v6mr1839371wmh.118.1535643927725; Thu, 30 Aug 2018 08:45:27 -0700 (PDT) Received: from debian-hp.wlan.uni-ulm.de (eduroam170-020.wlan.uni-ulm.de. [134.60.170.20]) by smtp.gmail.com with ESMTPSA id j20-v6sm1362759wmh.9.2018.08.30.08.45.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Aug 2018 08:45:27 -0700 (PDT) From: Philipp Rossak To: lee.jones@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, maxime.ripard@bootlin.com, wens@csie.org, linux@armlinux.org.uk, jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, eugen.hristev@microchip.com, rdunlap@infradead.org, vilhelm.gray@gmail.com, clabbe.montjoie@gmail.com, quentin.schulz@bootlin.com, geert+renesas@glider.be, lukas@wunner.de, icenowy@aosc.io, arnd@arndb.de, broonie@kernel.org, arnaud.pouliquen@st.com Subject: [PATCH v3 08/30] iio: adc: remove hwmon structure Date: Thu, 30 Aug 2018 17:44:56 +0200 Message-Id: <20180830154518.29507-9-embed3d@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180830154518.29507-1-embed3d@gmail.com> References: <20180830154518.29507-1-embed3d@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180830_084539_473542_FD70CFFA X-CRM114-Status: GOOD ( 11.70 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-sunxi@googlegroups.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP We remove the hwmon structure that was requiered for the mfd driver. Signed-off-by: Philipp Rossak --- drivers/iio/adc/sun4i-gpadc-iio.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/drivers/iio/adc/sun4i-gpadc-iio.c b/drivers/iio/adc/sun4i-gpadc-iio.c index f787442a9e5f..ab474ce86fb6 100644 --- a/drivers/iio/adc/sun4i-gpadc-iio.c +++ b/drivers/iio/adc/sun4i-gpadc-iio.c @@ -109,14 +109,6 @@ struct sun4i_gpadc_iio { struct device *sensor_device; }; -static struct iio_map sun4i_gpadc_hwmon_maps[] = { - { - .adc_channel_label = "temp_adc", - .consumer_dev_name = "iio_hwmon.0", - }, - { /* sentinel */ }, -}; - static const struct iio_chan_spec sun4i_gpadc_channels[] = { SUN4I_GPADC_ADC_CHANNEL(0, "adc_chan0"), SUN4I_GPADC_ADC_CHANNEL(1, "adc_chan1"),