Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2508440ybb; Sun, 22 Mar 2020 00:52:52 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtbvKP2sm8YTozDZ1LpUT2tNg6B5ZCUkmfOd7N8PhfGgy0GMcTMmxxULlrn6OGhM1KKnjQC X-Received: by 2002:a05:6808:6c9:: with SMTP id m9mr13233006oih.157.1584863572069; Sun, 22 Mar 2020 00:52:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584863572; cv=none; d=google.com; s=arc-20160816; b=JIZ1Suc4aKDvSXkUQJ4FiUQN2ZnXzCdEXgfD8lYhQQNwUnzRyKvD2Lc1x6SD4K9H43 ZOtVYXD+ZnpHbImwpZeGLYojt1qSs2dDLS2HLIIGIW7xXQrrsWP37/lmD9L4MTF9/RCc QohKnkGeN4u6ipupXc+3c4ahFVcIUGZ1i2ZajcGtnJ8kxNhn5z6hhYlr42awLG0uRZcX AUcE7Lmz4pr3/JRxL7vSl1z0xTk7+HhtgEUeDopvaGUWJj5fxs1kA4pRIxW/D9vZD2ei VRE77tlJC2H4TipWBEaxjP2sf4HzOHIlg+Rex82iQv/Ji3DXgOEiyg76q5Q+G+NcTlkS 8jzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :ironport-sdr:dkim-signature; bh=G9fPeJ2Lqaw9tn5k1jmfo2v9WVWFEaR38LGVcXvNiu8=; b=xlsqoQWNiEVkyl39LRHhQiZccrQMZ6rxy+ndRPdFxFMt6iYO//NTy2VWOj+J9DtRoX m5kjkTiDJACUlMyGmDbArNSNP7INE9fdj7U3dq2oDUubVQFVdYiJQQSERaTKPwakTnJz Y91KdLyrjkTzBHwm72wgHhlGH80nrorHot2i1l2OR0BWxbzULPvoGPYR4HSbZTGG6MUb lZm3gZUihFxhDCDvH/+WDD2HqckG3pTc2yznu+4msERYDvxukgi/Ny8vxsMdeRQFqARA MLAiTrPGUJH4vxMRqVRLIog6NPV42+0UJyTPBPmNx97WeyK6i5Cf1Y4TLBf/MrBZg9oh Cong== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@diehl.com header.s=default header.b="ZE/ngnEK"; 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 o13si2985412otk.135.2020.03.22.00.52.38; Sun, 22 Mar 2020 00:52:52 -0700 (PDT) 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; dkim=fail (test mode) header.i=@diehl.com header.s=default header.b="ZE/ngnEK"; 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 S1726664AbgCVHvr (ORCPT + 99 others); Sun, 22 Mar 2020 03:51:47 -0400 Received: from enterprise01.smtp.diehl.com ([193.201.238.219]:20314 "EHLO enterprise01.smtp.diehl.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725785AbgCVHvq (ORCPT ); Sun, 22 Mar 2020 03:51:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=diehl.com; i=@diehl.com; q=dns/txt; s=default; t=1584863504; x=1616399504; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=G9fPeJ2Lqaw9tn5k1jmfo2v9WVWFEaR38LGVcXvNiu8=; b=ZE/ngnEK2yOfuMA6dd8I6lzcfMq/e/CvU96WuUmGnge36ML6U02+IocH s3ZQB/jMNzDLF+pcyKIDhLF9GGNI3aBd3a9spUyjQ1dfHZx5EYdIPwVPR eJAzy44dOozuUeOi97m+2NNnqaIT73sgyVGL214vr/59R/iXfPDxXArgc C680iSdzQR6tZdAxqmlVB8ScE+NrzSQq7VUMBi50wm6hH5PzqWtHlCPYx Pe+LffBYQ48RnD8Ttzltu/Ma7j+VNAQORDVF7FbNJ5yEu9uCEezM8IdcP f/03IMlIpkcjqQOzRJ6kaA8R2hfLTePdtsPM267BgpnCxyctLhnBr4i3H w==; IronPort-SDR: HyCBZnQ22O9yrMfkr+VoRSHN7lBxg+sXPvpdlWacskhaX3pkrTiY7PkZSLSgApEYAHexp0wqvN biB849/yN0vw== From: Denis Osterland-Heim To: "pavel@ucw.cz" CC: "linux-kernel@vger.kernel.org" , "robh+dt@kernel.org" , "dmurphy@ti.com" , "devicetree@vger.kernel.org" , "jacek.anaszewski@gmail.com" , "linux-leds@vger.kernel.org" , "mark.rutland@arm.com" , "uwe@kleine-koenig.org" Subject: Re: [PATCH v4 3/5] leds: pwm: check result of led_pwm_set() in led_pwm_add() Thread-Topic: [PATCH v4 3/5] leds: pwm: check result of led_pwm_set() in led_pwm_add() Thread-Index: AQHV/1jvS39qjeoyFEyBmW+H8QD2bqhTGRaAgAAfaQCAAPVwAA== Date: Sun, 22 Mar 2020 07:51:31 +0000 Message-ID: References: <20200321081321.15614-1-Denis.Osterland@diehl.com> <20200321081321.15614-4-Denis.Osterland@diehl.com> <20200321152037.GB8386@duo.ucw.cz> In-Reply-To: Accept-Language: de-DE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: Evolution 3.28.5-0ubuntu0.18.04.1 x-ms-exchange-messagesentrepresentingtype: 1 Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-TrailerSkip: 1 X-GBS-PROC: byQFdw3ukCM+zy1/poiPczzkKjwjJ2vI2RLubozfMfcVjeQhtB15GwbEeaLReBKi Sender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