[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201002124407.GA3348424@kroah.com>
Date: Fri, 2 Oct 2020 14:44:07 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: poeschel@...onage.de
Cc: Thierry Reding <thierry.reding@...il.com>,
Uwe Kleine-König
<u.kleine-koenig@...gutronix.de>, Lee Jones <lee.jones@...aro.org>,
"open list:PWM SUBSYSTEM" <linux-pwm@...r.kernel.org>,
open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 1/2] pwm: sysfs: Set class on pwm devices
On Fri, Oct 02, 2020 at 02:30:47PM +0200, poeschel@...onage.de wrote:
> + pwm_prop[0] = kasprintf(GFP_KERNEL, "EXPORT=%s",
> + export->child.kobj.name);
Nit, you should use dev_name() here instead of trying to get the raw
kobject name.
thanks,
greg k-h
Powered by blists - more mailing lists