From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751610AbdFGREu (ORCPT ); Wed, 7 Jun 2017 13:04:50 -0400 Received: from mail-pf0-f195.google.com ([209.85.192.195]:34474 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750831AbdFGREt (ORCPT ); Wed, 7 Jun 2017 13:04:49 -0400 Date: Wed, 7 Jun 2017 10:04:45 -0700 From: Dmitry Torokhov To: Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org, Guenter Roeck Subject: Re: [PATCH 2/2] sysfs: add devm_sysfs_create_group() and friends Message-ID: <20170607170445.GC13116@dtor-ws> References: <20170213003619.4083-1-dmitry.torokhov@gmail.com> <20170213003619.4083-2-dmitry.torokhov@gmail.com> <20170327175359.GA23215@dtor-ws> <20170327193544.GB30423@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170327193544.GB30423@kroah.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 27, 2017 at 09:35:45PM +0200, Greg Kroah-Hartman wrote: > On Mon, Mar 27, 2017 at 10:53:59AM -0700, Dmitry Torokhov wrote: > > On Sun, Feb 12, 2017 at 04:36:19PM -0800, Dmitry Torokhov wrote: > > > Many drivers create additional driver-specific device attributes when > > > binding to the device and providing managed version of sysfs_create_group() > > > will simplify unbinding and error handling in probe path for such drivers. > > > > > > Without managed version driver writers either have to mix manual and > > > managed resources, which is prone to errors, or open-code this function by > > > providing a wrapper to sysfs_create_group() and use it with > > > devm_add_action() or devm_add_action_or_reset(). > > > > > > Signed-off-by: Dmitry Torokhov > > > --- > > > > Greg, gentle ping... > > It's not lost, it's in my queue... Another gentle ping... -- Dmitry