Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp2661522ybl; Mon, 20 Jan 2020 07:07:08 -0800 (PST) X-Google-Smtp-Source: APXvYqyLoRxeM0aw/1L4ia2aCJouIQOL8P8uhu9/+HiuJ2uyOngIlpRQmenh1u8xjwZ/yaHmE+JH X-Received: by 2002:a05:6808:aa8:: with SMTP id r8mr12420983oij.7.1579532827917; Mon, 20 Jan 2020 07:07:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579532827; cv=none; d=google.com; s=arc-20160816; b=JQtJbOZg06NoiZYyI+Y4z1Vo/er5Nx78CPtp7+xAdjzIV/TuBCjJ5Zqj1239oHy0Oe ihrafMOzSqx3tG8MJKGPU6QptWVAM0SdbNhPkQZd/5RMuduWG6rtSAFf6eOl/um0cRbl pMnPxxz7fW+m8YN1D5TjdIGG2hUiQvIDS2QD/5xvu0HXbm8+JEYozZfSa0c5vQUjYjyi kJ2waBloFtE1uNldYUSucaNriLhZYYLwmLVI825KeoFu4tGCyssVgn8FVS4B4RBDNnXq 4+Hl+yPIdOGrEJ9kE67KhSUKkWRmafMoTKNxcgyOC8VSZ8ztqF3IFXTAWVB+18tz5MJ0 +iHg== 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 :message-id:date:subject:to:from; bh=q9xqy0F91kIclgyHGxRLEZaxa+n9peIsshbpvfFfemI=; b=0B/JRIF28l2F3eNkL1GxxToP1s/VYF5zHdGneuVFQbRMlgMG1tcrYWNCLfhE1WQdYe MiEtSxFNtBfC6MMYDHQ1TxW7Geh0rYKdQ2Q6r8W5o2p5Z98fDnvj1Jw3g/efkTzssqDv eVT/Q3yMxkFnRJMh1KDXhfJs4lTHaStlXz40o7amoN0rtbKv6Ck+4x1Nj6XhrBxC5vuT SGU3p2NTb7IRd9RRV3Csv+BPVUOL5OUA82rlpTaD7okoXno75ygtYe7RVwR89V+JLK2J CTUQdOVG6/MTL/lMRd+0HVt3TjIg9Cv+f6Gp8ppMPmUlZZIqfKtgucgG0b0snHWRVqSg eTVw== 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 m20si20304751otq.35.2020.01.20.07.06.55; Mon, 20 Jan 2020 07:07:07 -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 S1729019AbgATPF0 (ORCPT + 99 others); Mon, 20 Jan 2020 10:05:26 -0500 Received: from honk.sigxcpu.org ([24.134.29.49]:53874 "EHLO honk.sigxcpu.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726642AbgATPFZ (ORCPT ); Mon, 20 Jan 2020 10:05:25 -0500 Received: from localhost (localhost [127.0.0.1]) by honk.sigxcpu.org (Postfix) with ESMTP id 6D9CEFB04; Mon, 20 Jan 2020 16:05:23 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at honk.sigxcpu.org Received: from honk.sigxcpu.org ([127.0.0.1]) by localhost (honk.sigxcpu.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cNq075tX6Ipb; Mon, 20 Jan 2020 16:05:22 +0100 (CET) Received: by bogon.sigxcpu.org (Postfix, from userid 1000) id 47E3B404AA; Mon, 20 Jan 2020 16:01:24 +0100 (CET) From: =?UTF-8?q?Guido=20G=C3=BCnther?= To: Tomas Novotny , Jonathan Cameron , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , "Angus Ainslie (Purism)" , =?UTF-8?q?Guido=20G=C3=BCnther?= , Marco Felsch , Thomas Gleixner , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/2] iio: vncl4000: Enable runtime pm for vcnl4200/4040 Date: Mon, 20 Jan 2020 16:01:22 +0100 Message-Id: X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is modelled after the vcnl4035 driver. The vcnl4000 does not seem to have a way to save power so we just leave it running. Guido Günther (2): iio: vcnl4000: Use a single return when getting IIO_CHAN_INFO_RAW iio: vncl4000: Enable runtime pm for vcnl4200/4040 drivers/iio/light/vcnl4000.c | 141 +++++++++++++++++++++++++++++++---- 1 file changed, 128 insertions(+), 13 deletions(-) -- 2.23.0