Received: by 2002:a6b:7707:0:0:0:0:0 with SMTP id n7csp1235341iom; Thu, 9 Jun 2022 23:06:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxMUGa/HOZfBoW1diuhHdqVBrUPHOJFDjG3uzZvakBPIrqdP/LOI5/DexRrFRtHPKZA/8TS X-Received: by 2002:a05:6402:120b:b0:42f:aa44:4d85 with SMTP id c11-20020a056402120b00b0042faa444d85mr39970483edw.338.1654841173414; Thu, 09 Jun 2022 23:06:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654841173; cv=none; d=google.com; s=arc-20160816; b=bEkockSAXIAYfQDyLR60tApfyNjFBL2iTbksQU9TZXLUI5jqVhjxkejX+537wGO5Mc yqhbHZllbXFzsc2f2fi9SIMFPQoKuTbT6E93g0KcjqUx7qaDGbxNEoTcqpZMBNkHPOdV NXDWUpD5khIJxOUyJ43fe7RIT7z+SblnZZAiV0AiXdw7ZaAIbanhVAvdQim7C88Hqc7+ QzbnjF+nSUm0xAD4JSGjca2eGQGnXIOSkv5oxwmv/BJxQioF5y8HS1H91d1Lnbgld24u cxsOJMkY0S8Ue1BZYujMLnMmhxFoEiMz3SV81IJDQp6ZaJp35EN0RQ4lm9RSWa4OVgqU RHTA== 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=Vct3hYwWb/CSnrHlTvHt8/rp/9yWeC+4+rNqA9hWmwY=; b=YKKuxaIt25p76HuB/GIvyUlNOuA+HkCfqokjD5ngMJN3uP9JMUuOhqv/CybwaG9O4E AWRbk6kOFDf3OuisJp80/t7lToXgq27UYVX8rET/H1EZIOofO7tSVe/76GgtO+kRU2D4 637lPTWQlFrALd7HUsh/BB+ieW3yenazm6BJA3oAA9l+QvlBiOy6HZw+r8KEF+X4Ul6h 6F2F5MoUyUPjOtzC/S2s66RrD4uKnFOgmDrAI613WzZDD34hyUZ93IRveuY6/ax2m9p/ DBQiWM0peB1QCX/NLL7+7he7r6C4aFtbWzPAX65dyWu/w1ER7Yj5Ht+1DWNOvqS39MEs DIOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@diehl.com header.s=default header.b=QuQ2cYD4; 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 nc22-20020a1709071c1600b00711c9e99bdbsi6301676ejc.258.2022.06.09.23.05.46; Thu, 09 Jun 2022 23:06:13 -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=QuQ2cYD4; 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 S1345532AbiFJFUQ (ORCPT + 99 others); Fri, 10 Jun 2022 01:20:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34490 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243933AbiFJFUO (ORCPT ); Fri, 10 Jun 2022 01:20:14 -0400 Received: from enterprise02.smtp.diehl.com (enterprise02.smtp.diehl.com [193.201.238.220]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 18C803B01E; Thu, 9 Jun 2022 22:20:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=diehl.com; i=@diehl.com; q=dns/txt; s=default; t=1654838414; x=1686374414; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=Vct3hYwWb/CSnrHlTvHt8/rp/9yWeC+4+rNqA9hWmwY=; b=QuQ2cYD405iZ8SqHJAzwbUZQsUlS1DaOBb0DiicUxNrV8ya98kwpRqfj 9+iUwnUZiq+THrLdnGAAKYzIv3XhE93GmKLvUBxieGuISelDUfx1V+bsM OVBHFg+T58yjpy34GoCo/LLe3AXIP+ReaR7kXxl6mz9hu7QSIu9u06G89 83xIv51oPDsM8tLA8EbtYZMKuxPhrXzvo5x3PHfrYKmO2f1izDl+BXMfV k7yTrmKLe9nWnK25K116NQKVQ7MIUbc3wzY4S9kSTpXUHmyayfif8mRLt rC01eglKAU88G/Shpi3CmPl1fdxcNzudzZhLF4QWpDjcD/x++mVEWJ158 Q==; IronPort-Data: A9a23:xstUzaMnKRtvPVHvrR3XlsFynXyQoLVcMsEvi/4bfWQNrUoihD0Cy jMbDziAM66OYmOnKdl/PNji8EJU6p6EyNE1TAZtpSBmQkwRpJueD7x1DKtS0wC6c5efFhI3t 63yTvGacajYm1eF/k/F3oDJ9CU6jefSLlbFILas1hpZHGeIcw98z0M68wIFqtQw24LhXVrV4 YqaT/D3YzdJ5RYlawr41IrT8HuDjNyq0N/PlgVjDRzjlAa2e0g9VPrzF4noR5fLatA88tqBe gr25OrRElU1XfsaIojNfr7TKiXmS1NJVOSEoiI+t6OK2nCuqsGuu0qS2TV1hUp/0l20c95NJ Nplnpbgd0QnYp33tc8jfSBgNjA9OI575+qSSZS/mZT7I0zuSVDA6LBLBUAyZNZe8eFtGSdC9 PEYLHYGaRXra+Cemer9E7Q3wJ9ldpiD0IA34xmMyRnVAPAnWtbEWLnH/9tR2jsYisFDHfKYb M0cAdZqRE+YP0YTZQpLYH44tPaagCT2aSN7kUuEuvo4yVn5yClI1Le4ZbI5ffTPH625hH2wr 2TK5WXoRAoaOcKUyTeD8XWEgu7JgDO9WYQOGbn+/flv6HWLz3IeDDULXkT9quvRokq/Xc9Pb kgZ9jEGs6c/7gqoQ8P7Uhn+p2SL1jYYWtxNA6g55RuLx678/QmUHC4HQyRHZdhgs9U5LQHGz XeTlN/iQDlmsbnMEjSW8a2M6z+zNCgRa2QFYEfoUDc43jUqm6lr5jqnczqpOPfdYgHdcd0o/ w23kQ== IronPort-HdrOrdr: A9a23:UtQCfq+35PdhD+CTITRuk+AAI+orL9Y04lQ7vn2ZESYlF/Bw5P re+MjztCWE8Ar5PUtQ5OxoV5PwIk80maQY3WBzB8bYYOCFghrLEGgK1+KLqFeMJ8SUzIBgPN JbE5SWf+eQMbEVt6nHyTj9PPpl+d+D8Kq5wcfypk0dNz2CIJsQiDuRQjzrdHGfUmF9dOMEKK Y= X-IronPort-AV: E=Sophos;i="5.91,288,1647298800"; d="scan'208";a="30434754" From: Denis OSTERLAND-HEIM To: Andy Shevchenko CC: Pavel Machek , "linux-leds@vger.kernel.org" , "linux-kernel@vger.kernel.org" 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/bWsK1IGuUw Date: Fri, 10 Jun 2022 05:20:11 +0000 Message-ID: <889f0750ad6b46479ac40283d3ae08c8@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: 5x5xXKsZ7k4sJw6jWwvS4stNlzQY9S+8US+56idKtE5Pn2RQKmNFVz/9Ho/EUmPx X-GBS-PROCJOB: tGAIOPV4e/iCCCRvp4AeCbti/CIenwSft3sdlmLjV1t6hbHDD2PNhSw/KDckKFt7 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 TEdUTQ0KDQpBY2tlZC1ieTogRGVuaXMgT3N0ZXJsYW5kIDxkZW5pcy5vc3RlcmxhbmRAZGllaGwu Y29tPg0KDQotLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KRnJvbTogQW5keSBTaGV2Y2hlbmtv IDxhbmRyaXkuc2hldmNoZW5rb0BsaW51eC5pbnRlbC5jb20+DQpTZW50OiBUaHVyc2RheSwgSnVu ZSA5LCAyMDIyIDY6MjMgUE0NClRvOiBEZW5pcyBPU1RFUkxBTkQtSEVJTSA8ZGVuaXMub3N0ZXJs YW5kQGRpZWhsLmNvbT47IEFuZHkgU2hldmNoZW5rbyA8YW5kcml5LnNoZXZjaGVua29AbGludXgu aW50ZWwuY29tPjsgbGludXgtbGVkc0B2Z2VyLmtlcm5lbC5vcmc7IGxpbnV4LWtlcm5lbEB2Z2Vy Lmtlcm5lbC5vcmcNCkNjOiBQYXZlbCBNYWNoZWsgPHBhdmVsQHVjdy5jej4NClN1YmplY3Q6IFtQ QVRDSCB2MSAxLzFdIGxlZHM6IGNvcmU6IFJlZmFjdG9yIGxlZF91cGRhdGVfYnJpZ2h0bmVzcygp IHRvIHVzZSBzdGFuZGFyZCBwYXR0ZXJuDQoNClRoZSBzdGFuZGFyZCBjb25kaXRpb25hbCBwYXR0 ZXJuIGlzIHRvIGNoZWNrIGZvciBlcnJvc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