Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754070AbcDAIbL (ORCPT ); Fri, 1 Apr 2016 04:31:11 -0400 Received: from mailout3.w1.samsung.com ([210.118.77.13]:21837 "EHLO mailout3.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753618AbcDAIaG (ORCPT ); Fri, 1 Apr 2016 04:30:06 -0400 X-AuditID: cbfec7f5-f792a6d000001302-75-56fe31878e04 From: Kamil Debski To: "'Boris Brezillon'" , "'Thierry Reding'" , linux-pwm@vger.kernel.org Cc: "'Mike Turquette'" , "'Stephen Boyd'" , linux-clk@vger.kernel.org, "'Mark Brown'" , "'Liam Girdwood'" , lm-sensors@lm-sensors.org, "'Jean Delvare'" , "'Guenter Roeck'" , "'Dmitry Torokhov'" , linux-input@vger.kernel.org, "'Bryan Wu'" , "'Richard Purdie'" , "'Jacek Anaszewski'" , linux-leds@vger.kernel.org, "'Maxime Ripard'" , "'Chen-Yu Tsai'" , linux-sunxi@googlegroups.com, "'Joachim Eastwood'" , "'Thomas Petazzoni'" , "'Heiko Stuebner'" , linux-rockchip@lists.infradead.org, "'Jingoo Han'" , "'Lee Jones'" , linux-fbdev@vger.kernel.org, "'Jean-Christophe Plagniol-Villard'" , "'Tomi Valkeinen'" , "'Robert Jarzmik'" , "'Alexandre Belloni'" , "'Kukjin Kim'" , "'Krzysztof Kozlowski'" , linux-samsung-soc@vger.kernel.org, intel-gfx@lists.freedesktop.org, "'Daniel Vetter'" , "'Jani Nikula'" , "'Jonathan Corbet'" , linux-doc@vger.kernel.org, "'David Airlie'" , "'Daniel Vetter'" , dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, "'Hartley Sweeten'" , "'Ryan Mallon'" , "'Alexander Shiyan'" , "'Milo Kim'" References: <1459368249-13241-1-git-send-email-boris.brezillon@free-electrons.com> <1459368249-13241-9-git-send-email-boris.brezillon@free-electrons.com> In-reply-to: <1459368249-13241-9-git-send-email-boris.brezillon@free-electrons.com> Subject: RE: [PATCH v5 08/46] hwmon: pwm-fan: use pwm_get_args() where appropriate Date: Fri, 01 Apr 2016 10:29:57 +0200 Message-id: <00e701d18bf0$ade6efe0$09b4cfa0$@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-index: AQHQh0X3NF3luf86UUl1xqOnj5o7owLZoFkUn2AFJJA= Content-language: pl X-Brightmail-Tracker: H4sIAAAAAAAAA02SeUxTWRTGc997970HsfFZq15hErUOyQyuEJczMlFjMvHGP3Q0SIzjqFVf 0ACVtGLUTCIxLiwi4ESkVRFchhkghbRDgQJGEcUqIIoiCmUpEKqguFGXYtHSmPDf797zfd85 yTkiqxzFQeIe7T5Zp9XEqvlA7p63rnneiTBv1ELL8FJIa7QzkNRymYHrrjwOznT38nCrIpOB 3usnEOTXm1gYtWaycPOSC8Gj4SEeRp0DGC6c/yDAuQwLA2mP+7/pmosRNGSsh3/fGwQYcIVB es8AC53DtxC4HyUxYO5pwfDmZAeGvONXOLhz6jWGp2/dGJpt53koHTQhcDgKELztGmUh+/41 BjzO2wL05tUz0J5VzUPlk0YEpeZqFvI/mzh4cPc3MHW7GKizFvFgHJwMlbY+DB/rUzk4XR4E n2w5HPR1HWGg+OIzHj7V3GdWLqRDrccE2nwqjaElzkJMq925HO01P0A03fQO0wqjQ6BVmXae Xq56ztAXTe0cNRck87S9pYqnZe4uTHPs62lnah1DLVcO/x68OfDXXXLsnv2ybsHy7YG7Pf0O IT5ZOPD/SCGTiLpxCgoQibSI/NP4QvDzVNLUUcynoEBRKV1F5FVTNfIVlNI7RJJKf0pBoshL P5OCDurTqKSjiFgqvdj3YCWPghQ9vCj43RcQyXHdYH3uAGkjyfq2Ih9PliKJtd051o6TQoi5 pZPzsUL6haR2ZWM/TyIf/+4Y+2elUGKxHsF+nkEsRS9Z/6gzSXnDwNh0KmkZGTEMIr9GRRyJ /TgDKY3joozjoozjoozjLLmIK0BT5ISd8fod0XHh8/WaOH2CNnr+zr1xZuQ/y+FydPX2shok iUg9QdGa9SVKiTX79QfjahARWbVK8ddcb5RSsUtz8JCs27tNlxAr62tQsMippykMtqFIpRSt 2SfHyHK8rPteZcSAoEQ0MWZJbeSq/DVt6dcKw7MMEa5NtVuWnyx53OZsI6EhSbm6eNyUrWfh Tsia2eLMsxElc8I9tfa+Kq1265eyWa9jn6/S/pG7xJSs1KaGqMPtPx5KN5QpXgZPDzu8QRtU sXgkeorn6Q/u4tNzelpvrs5cq1o3I+LcxhXeYNu9P62qLf99UHP63ZqwUFan13wFfaxcA5ID AAA= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 876 Lines: 27 Hi Boris, From: Boris Brezillon [mailto:boris.brezillon@free-electrons.com] Sent: Wednesday, March 30, 2016 10:04 PM Subject: [PATCH v5 08/46] hwmon: pwm-fan: use pwm_get_args() where appropriate > > The PWM framework has clarified the concept of reference PWM config (the > platform dependent config retrieved from the DT or the PWM lookup table) > and real PWM state. > > Use pwm_get_args() when the PWM user wants to retrieve this reference > config and not the current state. > > This is part of the rework allowing the PWM framework to support hardware > readout and expose real PWM state even when the PWM has just been > requested (before the user calls pwm_config/enable/disable()). > > Signed-off-by: Boris Brezillon Acked-by: Kamil Debski Best wishes, -- Kamil Debski Samsung R&D Institute Poland