From patchwork Wed Feb 5 17:15:06 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandru Tachici X-Patchwork-Id: 11366661 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id F268092A for ; Wed, 5 Feb 2020 17:15:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DAF77217F4 for ; Wed, 5 Feb 2020 17:15:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726534AbgBERP3 (ORCPT ); Wed, 5 Feb 2020 12:15:29 -0500 Received: from mx0a-00128a01.pphosted.com ([148.163.135.77]:5632 "EHLO mx0a-00128a01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726957AbgBERP3 (ORCPT ); Wed, 5 Feb 2020 12:15:29 -0500 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 015HE6F7022090; Wed, 5 Feb 2020 12:15:28 -0500 Received: from nwd2mta4.analog.com ([137.71.173.58]) by mx0a-00128a01.pphosted.com with ESMTP id 2xyhm92809-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 05 Feb 2020 12:15:27 -0500 Received: from ASHBMBX8.ad.analog.com (ashbmbx8.ad.analog.com [10.64.17.5]) by nwd2mta4.analog.com (8.14.7/8.14.7) with ESMTP id 015HFQG3030449 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=FAIL); Wed, 5 Feb 2020 12:15:26 -0500 Received: from ASHBMBX8.ad.analog.com (10.64.17.5) by ASHBMBX8.ad.analog.com (10.64.17.5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1779.2; Wed, 5 Feb 2020 12:15:25 -0500 Received: from zeus.spd.analog.com (10.64.82.11) by ASHBMBX8.ad.analog.com (10.64.17.5) with Microsoft SMTP Server id 15.1.1779.2 via Frontend Transport; Wed, 5 Feb 2020 12:15:25 -0500 Received: from tachici-Precision-5530.ad.analog.com ([10.48.65.175]) by zeus.spd.analog.com (8.15.1/8.15.1) with ESMTP id 015HFNah010661; Wed, 5 Feb 2020 12:15:23 -0500 From: Alexandru Tachici To: , CC: , Alexandru Tachici Subject: [PATCH 0/5 V2] iio: adc: ad7192: move out of staging Date: Wed, 5 Feb 2020 19:15:06 +0200 Message-ID: <20200205171511.25912-1-alexandru.tachici@analog.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200202162215.50915c83@archlinux> References: <20200202162215.50915c83@archlinux> MIME-Version: 1.0 X-ADIRoutedOnPrem: True X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138,18.0.572 definitions=2020-02-05_05:2020-02-04,2020-02-05 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 lowpriorityscore=0 phishscore=0 priorityscore=1501 impostorscore=0 malwarescore=0 suspectscore=0 bulkscore=0 adultscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2001150001 definitions=main-2002050131 Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org This series of patches aim to move the ad7192 ADC from staging into mainline. 1. Makes probe fail in case get_voltage returns an error. 2. Changed the iio_chan_spec talbes in order to set the required attributes at compile time. 3. Removed spi_device_id table and moved ID_* in of_Device_id table. 4. Updates inline sysfs docs. 5. Full-diff patch to move the ad7192 out of staging. Alexandru Tachici (5): staging: iio: adc: ad7192: fail probe on get_voltage staging: iio: adc: ad7192: modify iio_chan_spec array staging: iio: adc: ad7192: removed spi_device_id Documentation: ABI: testing: ad7192: update sysfs docs staging: iio: adc: ad7192: move out of staging .../ABI/testing/sysfs-bus-iio-adc-ad7192 | 17 +- MAINTAINERS | 8 + drivers/iio/adc/Kconfig | 12 + drivers/iio/adc/Makefile | 1 + drivers/iio/adc/ad7192.c | 1043 +++++++++++++++++ .../iio/Documentation/sysfs-bus-iio-ad7192 | 20 - drivers/staging/iio/adc/Kconfig | 12 - drivers/staging/iio/adc/Makefile | 1 - drivers/staging/iio/adc/ad7192.c | 1022 ---------------- 9 files changed, 1075 insertions(+), 1061 deletions(-) create mode 100644 drivers/iio/adc/ad7192.c delete mode 100644 drivers/staging/iio/Documentation/sysfs-bus-iio-ad7192 delete mode 100644 drivers/staging/iio/adc/ad7192.c