Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp576901imj; Thu, 7 Feb 2019 08:39:36 -0800 (PST) X-Google-Smtp-Source: AHgI3IZ9BKl+zonBqQwhv/BVFgDpo+AeGWGGPt23TYDRYaZ0mHIInNtlYHDdvxyreLy8l6xxq5+C X-Received: by 2002:a62:1c86:: with SMTP id c128mr17620408pfc.54.1549557575962; Thu, 07 Feb 2019 08:39:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549557575; cv=none; d=google.com; s=arc-20160816; b=qn7O/S1MmP22rsKnkd4TuJuDADTsUNfsQGvk3MSKckgZsdLJOtSCVLOf2CZACzWPj4 VYIp5fdi4NufeKrFhz63i5EF78A4N2D+4BIXbstTyUEwNwxTT7WXyKDkG1ry72aKEDsy F8a7gMFX3taJtldXDBx2hRrj/Dz5THmCtJsDWmBwlQH/0fZ/r/s8AMSX2UtUWoxaBOry J/YMZmoP/7Qwl8SwMT3oK/+PidfgDPA0MqXQue9eB9zsG4B8EySzoSlekQhDRh0di8qX 1z8rrMG0FbIbLUnPfrl7QSJAOJ3cES8DdDo92jTYTpJRM5NTEax95/OUFb0+TU4PhEaT Alfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=tcpDhzGDin8WQ8xqnjAjvIXO+gh54oxVR9bCYNowwGY=; b=m0sG9KORrJLaE2ObR23AMfNqciv9hZN1hwIdKwAGn42znte9zX2jiXxcC2Ui8uxVXP 8Dni1wXTPh1//bPK2Cy1JfOXbtb+fcLKNfExUtRP8xLiX4KpSFgkQps0vgspxxLeOkGk gFhxB5R0Z5B1ukagKKDwR8ZTjoBazvpeyf99lPf3CT4lQNa1nicerGjVTPhSA1pyBdbe 1Gk3QNL5FtqJIeHU4i6ABXjOZ1/ZtXlV5cKY8l8ZdLPRXKGKQjTyYvMNL4rBXuQatKTW l5oKAen+ApyDkpF6hESQowoVLIBO+OB5KcxBJPdgxZHZD3PTcLkt9vOFkPiKqZEOmRHk 7feg== 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 e17si924960pgv.452.2019.02.07.08.39.19; Thu, 07 Feb 2019 08:39:35 -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 S1726801AbfBGQjK (ORCPT + 99 others); Thu, 7 Feb 2019 11:39:10 -0500 Received: from mout.kundenserver.de ([212.227.17.10]:41017 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726171AbfBGQjK (ORCPT ); Thu, 7 Feb 2019 11:39:10 -0500 Received: from stefan-Vostro-260.fritz.box ([109.104.54.161]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) id 1M6EOc-1gl9vO2zkG-006ilV; Thu, 07 Feb 2019 17:38:34 +0100 From: Stefan Wahren To: Kamil Debski , Bartlomiej Zolnierkiewicz , Jean Delvare , Guenter Roeck , Rob Herring , Mark Rutland Cc: linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Stefan Wahren Subject: [PATCH V2 0/2] hwmon: pwm-fan: Add optional regulator support Date: Thu, 7 Feb 2019 17:37:58 +0100 Message-Id: <1549557480-14436-1-git-send-email-stefan.wahren@i2se.com> X-Mailer: git-send-email 2.7.4 X-Provags-ID: V03:K1:/Q8ZR5u2Bnt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ZD8= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This small series implements the optional regulator support for the pwm-fan driver. Changes in V2: - address Guenter's comments: - handle error case first - drop ENOSYS handling - implement more consistent bail out handling - enable regulator before setup PWM - make sure we disable regulator if probe fails Stefan Wahren (2): dt-bindings: hwmon: Add optional regulator support to pwm-fan hwmon: pwm-fan: Add optional regulator support .../devicetree/bindings/hwmon/pwm-fan.txt | 3 ++ drivers/hwmon/pwm-fan.c | 39 +++++++++++++++++++++- 2 files changed, 41 insertions(+), 1 deletion(-) -- 2.7.4