Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp399110imn; Fri, 29 Jul 2022 10:13:24 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uJimy9X/MgLXX0c/IMqSK1G4bCe/Dl2w0woAjvvPPWlZ/PRiMRrps4wnxpwSMhiU7EyTS4 X-Received: by 2002:a17:907:7ba6:b0:72b:44ff:7282 with SMTP id ne38-20020a1709077ba600b0072b44ff7282mr3707590ejc.652.1659114804681; Fri, 29 Jul 2022 10:13:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659114804; cv=none; d=google.com; s=arc-20160816; b=arbWaZxdbnNwyk+rQdod4wTVFBtR5pxusiF3Dln++LFbgKglWGXSaOEH3pX1HXu9vI SdUW9tXXPy/60xe/3Gkk8C7VSYhr0ABxXr94DIqw55/UHnTybw+McH8xA3+bLWtYjddx AuUBn7iSBJJFmls28LEWgr0QPDwcrCMgtOzi8zK8wnGBtTV2gbQVc5glI5PGJUjT7N+P v8XrjvFso+gPKVryl/FqcDGcRlOOG7O5Nco1PofAj9JOgzjZ06UBewdnricYVSisKBHZ Wa2XI0lYZ4LKHtZ3eHdEZLmH416XodO8GPCZijgesRKTpIZkVfg9owwpGLJN7AWvjp4l fzOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=q4nxtYkRwWGCNF6YXKBA0vlRSe9nYFgU/P3sxdvuIkc=; b=jbgb6DM4wpLyhWvUGEe1RxeklGKgQPH3wlrSUozl1KaKV578BqjPHqccxD0zKajOpf CARswKTk2TVHj0cPvi3OqaJA9gMf30wpn+6V72Kl6+AL6FvmPJqe2IHmehrORtAJnmaZ qwaviCwBEACaFGE5+CMxGxLmDv5cOzY1NKfMN9qfwsbAdsRHYbyuO5OrT2d/5yJ5jUZZ 7p4hwYUWAnYN25fNkzdLm3XiHqbupn13WYtb/FCGLwurDMoVLB8Ev05IpyXwkLPqDcqr 2b27xBGujyZUNsLMyke1nQxk6JOloTW1vUeJ7WngrxyagiRFYY012xwTUj/cUOD3pQBC IPdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=LFgBsAc6; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gh4-20020a170906e08400b0072a84044156si3206412ejb.849.2022.07.29.10.12.58; Fri, 29 Jul 2022 10:13:24 -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=@kernel.org header.s=k20201202 header.b=LFgBsAc6; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237774AbiG2Qxr (ORCPT + 99 others); Fri, 29 Jul 2022 12:53:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43032 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230009AbiG2Qxq (ORCPT ); Fri, 29 Jul 2022 12:53:46 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B66B089A4B; Fri, 29 Jul 2022 09:53:45 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 5152761EBA; Fri, 29 Jul 2022 16:53:45 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A86B7C433C1; Fri, 29 Jul 2022 16:53:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1659113624; bh=dRgnIIdxVFBOGYWODaTIxnLssgHH3AEtGG4hzRR5xhs=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=LFgBsAc68I7/coX9CupBt4+uVTyL5a2q6I+m0/1cJmqZ4ibnaahXR2dLCK8NGLrvT Vjbgf7o5/rrOrK5K3rMVqYdA2+GAJIyhUnnoYhmTgvD4F+MLA5DzFuvmWDSAJjzzF6 WZtCkg1AXSFcubVc1w2ZEY2bwRrvSBJZc2xIzhKfmlIMIO1P9oWZumeR6XeyzkosxI itXRvX8PDioAbckn73JWSVl49bWuxWFAWoOXJcQIoaZOYuj8UnW2UTIBUZPVgkRB/R 2yug61uy9UjDCGzYgHtCdOyDtRRTkpQRNzXjupKdqiqcGD7kZ2++pR8wkLyKXw28EK E/nXo15xrQQ6w== Date: Fri, 29 Jul 2022 18:53:38 +0200 From: Marek =?UTF-8?B?QmVow7pu?= To: Greg Kroah-Hartman Cc: linux-leds@vger.kernel.org, Pavel Machek , linux-kernel@vger.kernel.org Subject: Re: [PATCH] leds: turris-omnia: convert to use dev_groups Message-ID: <20220729185338.2bba32f5@dellmb> In-Reply-To: <20220729140346.2313175-1-gregkh@linuxfoundation.org> References: <20220729140346.2313175-1-gregkh@linuxfoundation.org> X-Mailer: Claws Mail 3.19.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 On Fri, 29 Jul 2022 16:03:46 +0200 Greg Kroah-Hartman wrote: > The driver core supports the ability to handle the creation and removal > of device-specific sysfs files in a race-free manner. Take advantage of > that by converting this driver to use this by moving the sysfs > attributes into a group and assigning the dev_groups pointer to it. >=20 > Cc: "Marek Beh=C3=BAn" > Cc: Pavel Machek > Cc: linux-leds@vger.kernel.org > Cc: linux-kernel@vger.kernel.org > Signed-off-by: Greg Kroah-Hartman Reviewed-by: Marek Beh=C3=BAn