Received: by 2002:a05:6358:795:b0:dc:4c66:fc3e with SMTP id n21csp1397348rwj; Sat, 29 Oct 2022 23:25:39 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7ln/K4pTmGE6KTEcNTiGm06DsrOzCDJ2TjWJC0nAv+N2DOyCOAd0JGn7nsWHdpw60BVf4B X-Received: by 2002:a05:6402:4411:b0:437:b723:72 with SMTP id y17-20020a056402441100b00437b7230072mr7632695eda.38.1667111138816; Sat, 29 Oct 2022 23:25:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667111138; cv=none; d=google.com; s=arc-20160816; b=JFfU1dvS07PGA2j5eJTC6IReAiM9qYn6O7T2E0V3vsBn/0sGSkozUToECd98Oep7kh Xmq7g+/S6iNmBGfpCmuTkp8X+eOYmLUwpMwxqer1s+pgmaARLOrumOWLJJzbsU9sp0le kKwoDtj0AnHqjjLS7VZ9i+p0kDDX6tGqDkWNyr6/hmutXw015RnPSiFpUv8Z+JzyQvBt 2Xg9CkPBeJx//VGQn0AffLIP0cTxDithWPGHd8vJrS0So2/utKzJTt2hV7z5zjEsyPe7 Khs2FkXszNI0D+0IrRDLvSFgwsRPScBT3pINs+13IIxG157w11DJ9nezZK7wobT2gSOi KvwQ== 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-id:content-language:accept-language:in-reply-to:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=70gQPUCJRtL+Gl1erP4Tp6BQPO1jX8JvWrWFY8MQuHI=; b=q71oWTwvvRlj4RSwvB8/wGmddGkCMd3Ve+4cUYiHSBo+Gb/f3/NvjkL8xeDPLbXVsP wt4PhVNtcSIaQIbzIq2+tFfFl2ewML/PEnjBvz6yzPBbFM6MlUsqsR0j1gJ4ireZSvzU jLWAnBbaMYKs+9JbXkTE5O79iL8tUv32a/bBRZBUDYGbC9qdRYqUcapjazfR17krUov7 BNT3nW4MEK5LrVGQkoDL3D2js5Lav/wVCxBLnUuKSmdHXD+Ikn6sKstoTmhhGsxfzEPY w8DYbdeP7j+ZA102sCwzV+JjgL/OaP4lsjrMZedJTGrsnLyQXnEEkDm3D7l//98YyPwa TO9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sberdevices.ru header.s=mail header.b=kOnQRetV; 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=sberdevices.ru Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ev13-20020a056402540d00b0045878eab247si3443581edb.193.2022.10.29.23.25.10; Sat, 29 Oct 2022 23:25:38 -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=@sberdevices.ru header.s=mail header.b=kOnQRetV; 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=sberdevices.ru Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229744AbiJ3GHp (ORCPT + 99 others); Sun, 30 Oct 2022 02:07:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45298 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229740AbiJ3GHn (ORCPT ); Sun, 30 Oct 2022 02:07:43 -0400 Received: from mx.sberdevices.ru (mx.sberdevices.ru [45.89.227.171]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 241B410F; Sat, 29 Oct 2022 23:07:41 -0700 (PDT) Received: from s-lin-edge02.sberdevices.ru (localhost [127.0.0.1]) by mx.sberdevices.ru (Postfix) with ESMTP id 8613A5FD0D; Sun, 30 Oct 2022 09:07:39 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sberdevices.ru; s=mail; t=1667110059; bh=70gQPUCJRtL+Gl1erP4Tp6BQPO1jX8JvWrWFY8MQuHI=; h=From:To:Subject:Date:Message-ID:Content-Type:MIME-Version; b=kOnQRetVPv+2UCipFwjhn9VvzjZbNb1MtZPEkL4XSVlkO2q0AgbiBUUxbZzxB6wXH yq/VsHBq0lC8A0RvQ3eLGOuhYQ9Z6013ctIfPPy260AwnRtZJCMuHS4FvxxFiHTD0H 16ZKDb5LwUolBDySp5pnIaGKusXFqbIN3fOaSwY0FwdBlGRoBI3d1InUZt00XuVa8u nchrawSXaximexdtUtxiV97DRznAweF0b0Zly7PJIYrDWOV7F72/wXvQR8BYQh9k+i skjfhiiYz4VV/aqlMXCs6Npx2Fp6uHAkrgzyRUCpA4i+DixbBbUK3ewUxQb5HiIhB5 51F9m8vuwQWXg== Received: from S-MS-EXCH01.sberdevices.ru (S-MS-EXCH01.sberdevices.ru [172.16.1.4]) by mx.sberdevices.ru (Postfix) with ESMTP; Sun, 30 Oct 2022 09:07:39 +0300 (MSK) From: Arseniy Krasnov To: Pavel Machek CC: "linux-kernel@vger.kernel.org" , "linux-leds@vger.kernel.org" , kernel Subject: [RFC PATCH v1 1/1] leds: support to use own workqueue for each LED Thread-Topic: [RFC PATCH v1 1/1] leds: support to use own workqueue for each LED Thread-Index: AQHY7CXVXNE+VpHZTEOLMCYP8pPo3Q== Date: Sun, 30 Oct 2022 06:07:05 +0000 Message-ID: <33d05330-7c52-e873-bf32-209d40c77632@sberdevices.ru> In-Reply-To: <9a0a70a8-0886-1115-6151-72d2cba842cf@sberdevices.ru> Accept-Language: en-US, ru-RU Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.16.1.12] Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-KSMG-Rule-ID: 4 X-KSMG-Message-Action: clean X-KSMG-AntiSpam-Status: not scanned, disabled by settings X-KSMG-AntiSpam-Interceptor-Info: not scanned X-KSMG-AntiPhishing: not scanned, disabled by settings X-KSMG-AntiVirus: Kaspersky Secure Mail Gateway, version 1.1.2.30, bases: 2022/10/30 00:33:00 #20534548 X-KSMG-AntiVirus-Status: Clean, skipped X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS 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 VGhpcyBhbGxvd3MgdG8gc2V0IG93biB3b3JrcXVldWUgZm9yIGVhY2ggTEVELiBUaGlzIG1heSBi ZSB1c2VmdWwsIGJlY2F1c2UNCmRlZmF1bHQgJ3N5c3RlbV93cScgZG9lcyBub3QgZ3VhcmFudGVl IGV4ZWN1dGlvbiBvcmRlciBvZiBlYWNoIHdvcmtfc3RydWN0LA0KdGh1cyBmb3Igc2V2ZXJhbCBi cmlnaHRuZXNzIHVwZGF0ZSByZXF1ZXN0cyAoZm9yIG11bHRpcGxlIGxlZHMpLCByZWFsDQpicmln aHRuZXNzIHN3aXRjaCBjb3VsZCBiZSBpbiByYW5kb20gb3JkZXIuDQoNClNpZ25lZC1vZmYtYnk6 IEFyc2VuaXkgS3Jhc25vdiA8QVZLcmFzbm92QHNiZXJkZXZpY2VzLnJ1Pg0KLS0tDQogZHJpdmVy cy9sZWRzL2xlZC1jb3JlLmMgfCA4ICsrKysrKy0tDQogaW5jbHVkZS9saW51eC9sZWRzLmggICAg fCAxICsNCiAyIGZpbGVzIGNoYW5nZWQsIDcgaW5zZXJ0aW9ucygrKSwgMiBkZWxldGlvbnMoL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