Received: by 2002:a5d:925a:0:0:0:0:0 with SMTP id e26csp1075225iol; Thu, 9 Jun 2022 22:54:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyQIYls0GA+5iy3gKFM0RflmohiR5HpOpA4pcoVz1Rs62vsQXZwPuX3NMAyPkY5ho8n2K6g X-Received: by 2002:a05:6402:1488:b0:431:56cb:bbc5 with SMTP id e8-20020a056402148800b0043156cbbbc5mr28914995edv.199.1654840460149; Thu, 09 Jun 2022 22:54:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654840460; cv=none; d=google.com; s=arc-20160816; b=C0dAkfEPEknOhKMrffFH3olpwDARjQPlLnbzYu5Pl3VTcAjOphhmlIaY9KWowZhAB0 dFYvAFNRgTpJd9x/5D7BkI0E1YjmX4GKs65OAyX5H2GXMFiI8DM4eXVqMg/Oij3+FtS8 W/LvNZxMxxNjbsXHMy6fnB/iwhvFQdN4FTeowO+1Gf/4A72rEbQjFp8vsHXqbaxNSRnh 5FalJsOSG64N+emgxqOURK/7WLVRvtu86JvpxCJjSY1fcZSjdd5RxXdG+RyhXULufLC8 WxPn5xEIfklFSKsAP6eFWcP0L9U9RmTxFr+PW7UaY0hU58qvVAK3Q4MCjzvC3qJK2tvp zXyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:ironport-hdrordr :ironport-data:dkim-signature; bh=7rwE/o9oY8OmMLQPKfKQ5tSf+bnywKIWjXXOF5rWxyE=; b=PU0hmww4g5aYg6mGOb/o0IgaVGMAoKyyCjHvjacN/Ptm/jpguaHAjfxpegp2PwcXaM Uhhfje94LTBafFlZ1CGvVxED/F1KOCMaX1BfkMqSfwGjb2sUW062emowwTiiePLt7z0O M68IBu5SfnuOtL+PGo8K2ipTNFGbYD2FjJHhgDCmLDUBoFWx6/vqcah9G7a7p8503y7U PchPsJDPCTuNnLel9rvdk51Lbtgpgmv7+ljz3eBJR+T1NgpWlzhHFJI2kvxc7dFOHkUs Xdke8U5LGBDb7O8tvnde8PGeiWlt8E+d/udOEwy9NFdAsy6FAhFeYNLapIbed3ZQ9HBI io5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@diehl.com header.s=default header.b=ImrNRBeT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=diehl.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r9-20020a05640251c900b0043011328f47si25731673edd.4.2022.06.09.22.53.55; Thu, 09 Jun 2022 22:54:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@diehl.com header.s=default header.b=ImrNRBeT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=diehl.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243873AbiFJFRI (ORCPT + 99 others); Fri, 10 Jun 2022 01:17:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50364 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235342AbiFJFRH (ORCPT ); Fri, 10 Jun 2022 01:17:07 -0400 Received: from enterprise01.smtp.diehl.com (enterprise01.smtp.diehl.com [193.201.238.219]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B0D9D62C1; Thu, 9 Jun 2022 22:17:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=diehl.com; i=@diehl.com; q=dns/txt; s=default; t=1654838226; x=1686374226; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=7rwE/o9oY8OmMLQPKfKQ5tSf+bnywKIWjXXOF5rWxyE=; b=ImrNRBeT5lyXdol3gNbXBtQPhOu112j8ZYuoaqd3LnIobRGgOIkimok/ fU5QNaqjYfkbWiADmZClAPdAHuwL+P/RwciuRudI4sF/XirzEIzvO/xCX cdqqN61VDPSZgvjSAXvihZUzT1mMRHg3GdMz5Hjqg25F6iXQrcNgMM11n XuASPD9u+wcYKCGt9fNhE2P3dtqiW0TQ78MFvW3mbWYXKTL03aZ7GoL+y Q3z7C4/5z1O5RbtUnbXWqho1erG47t79Ug4MFj0kSbkbQAga6pkV7a1vZ 4/vn0A1axCwwYcGnx9es5zB38RSRIKWzUbkmx84EMH/GyyCYWR5azAP5S Q==; IronPort-Data: A9a23:iJs9GaKX8sjYv1WvFE+Ro5QlxSXFcZb7ZxGr2PjKsXjdYENS0DUCy mdLWzqOMvrZMWajfN11bInk9EgAvpWByYI1TAJorCE8RH908seUXt7xwmUcnc+xBpCZEBg3v 512hv3odp1coqr0/0/1WlTZhSAgk/nOHNIQMcacUsxLbVYMpBwJ1FQywobVvqYy2YLjW13U4 YuryyHiEATNNwBcYzt8B52r+EsHUMTa4Fv0aXRnOJinFHeH/5UkJMp3yZOZdhMUcaENdgKOf Nsv+Znilo/vE7XBPfv++lrzWhVirrc/pmFigFIOM0SpqkAqSiDfTs/XnRfTAKtao2zhojx/9 DlCnaKCQxwUOIzRoe8MUkgFTApCO60W95aSdBBTseTLp6HHW0HH794rKUg3OdRDvO1wG3kI+ f0VKDRLZReG7w606OvjDLAx3YJ4apO6VG8ckigIITXxAfsgQIuFRL7W6MVc1TE8rsxPEPbaI cEebFKDaTybOUESYw5MUfrSms+JhHLaSH5xk2uV/4sdoEv05gpbjIrUZY+9ltuiAJ89clyjj mbH+XnpRxIXLtqSzRKb/X+2wOzChyX2XMQVDrLQ3uZjnlCX7nEYF1sdRzOTqP+1kE+vHclfJ lIf+icorq8a8E2tU8m7XhukrXrCtRkZM/JUEusn+ESJx6bPyxiWC3JCTTNbbtEi8sgsSlQXO kShhdjlDnlqubyRECnb/bCOtXW+OCUVKSkJYipsoRY53uQPabob1nrnJuuP2obs5jEpMVkcG wy3kRU= IronPort-HdrOrdr: A9a23:jlAINK1CUaJ0QfDNrn+GawqjBJ8kLtp133Aq2lEZdPU0SKalf8 PEpoV46fYuskdhZJhEo6HnBEDuewKnyXcY2/hpAV7aZniZhIN6RLsSkbcLtFbbalDDH7VmpN hdmsFFYbWaYDcV7KaKhXjeLz9K+qj9zEnHv5an85/jIDsaD52IMD0Ue2WmLnE= X-IronPort-AV: E=Sophos;i="5.91,288,1647298800"; d="scan'208";a="32451131" From: Denis OSTERLAND-HEIM To: Andy Shevchenko , "linux-leds@vger.kernel.org" , "linux-kernel@vger.kernel.org" CC: Pavel Machek Subject: RE: [PATCH v1 1/1] leds: core: Refactor led_update_brightness() to use standard pattern Thread-Topic: [PATCH v1 1/1] leds: core: Refactor led_update_brightness() to use standard pattern Thread-Index: AQHYfB03A5G1F6o9YkqnTKEyI/bWsK1IGi4A Date: Fri, 10 Jun 2022 05:17:02 +0000 Message-ID: <372f05b312c54f808491d4fb3a2d7744@RCDC-Mail15.corp.diehl.com> References: <20220609162233.80498-1-andriy.shevchenko@linux.intel.com> In-Reply-To: <20220609162233.80498-1-andriy.shevchenko@linux.intel.com> Accept-Language: de-DE, en-US Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: x-disclaimerprocessed: True Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-GBS-PROC: H/EbuC12Vnf8ka8I9ZkQCV8VhTLL3jMa0+E1FTTkp2+i0DexVFrLH3cEzeoA1Fanq/8lCaVtSx+cQU62Dtu0QvVQsYtgpwLtW/9Ztuf0/GA= X-GBS-PROCJOB: js2Vfo5hLJQGBTiPkRr5ZmfzmfY6ep9mt26pktlU7reuUpYJBOS35Xd68vHBw9ee X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org TEdUTQ0KDQpBY2tlZC1ieTogRGVuaXMgT3N0ZXJsYW5kLUhlaW0gPGRlbmlzLm9zdGVybGFuZEBk aWVobC5jb20+DQoNCi0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQpGcm9tOiBBbmR5IFNoZXZj aGVua28gPGFuZHJpeS5zaGV2Y2hlbmtvQGxpbnV4LmludGVsLmNvbT4NClNlbnQ6IFRodXJzZGF5 LCBKdW5lIDksIDIwMjIgNjoyMyBQTQ0KVG86IERlbmlzIE9TVEVSTEFORC1IRUlNIDxkZW5pcy5v c3RlcmxhbmRAZGllaGwuY29tPjsgQW5keSBTaGV2Y2hlbmtvIDxhbmRyaXkuc2hldmNoZW5rb0Bs aW51eC5pbnRlbC5jb20+OyBsaW51eC1sZWRzQHZnZXIua2VybmVsLm9yZzsgbGludXgta2VybmVs QHZnZXIua2VybmVsLm9yZw0KQ2M6IFBhdmVsIE1hY2hlayA8cGF2ZWxAdWN3LmN6Pg0KU3ViamVj dDogW1BBVENIIHYxIDEvMV0gbGVkczogY29yZTogUmVmYWN0b3IgbGVkX3VwZGF0ZV9icmlnaHRu ZXNzKCkgdG8gdXNlIHN0YW5kYXJkIHBhdHRlcm4NCg0KVGhlIHN0YW5kYXJkIGNvbmRpdGlvbmFs IHBhdHRlcm4gaXMgdG8gY2hlY2sgZm9yIGVycm9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