Re: [PATCH][next] drivers: base: remove need for a temporary string for the node name

2018-12-06 Thread Rafael J. Wysocki
On Thu, Dec 6, 2018 at 3:57 PM Greg Kroah-Hartman wrote: > > On Thu, Nov 29, 2018 at 06:08:44PM +, Colin King wrote: > > From: Colin Ian King > > > > Currently the node name is being formatting into a temporary string > > node_name, however, kobject_init_and_add allows one to format up > > a

Re: [PATCH][next] drivers: base: remove need for a temporary string for the node name

2018-12-06 Thread Rafael J. Wysocki
On Thu, Dec 6, 2018 at 3:57 PM Greg Kroah-Hartman wrote: > > On Thu, Nov 29, 2018 at 06:08:44PM +, Colin King wrote: > > From: Colin Ian King > > > > Currently the node name is being formatting into a temporary string > > node_name, however, kobject_init_and_add allows one to format up > > a

Re: [PATCH][next] drivers: base: remove need for a temporary string for the node name

2018-12-06 Thread Greg Kroah-Hartman
On Thu, Nov 29, 2018 at 06:08:44PM +, Colin King wrote: > From: Colin Ian King > > Currently the node name is being formatting into a temporary string > node_name, however, kobject_init_and_add allows one to format up > a node name, so use that instead. This removes the need for the >

Re: [PATCH][next] drivers: base: remove need for a temporary string for the node name

2018-12-06 Thread Greg Kroah-Hartman
On Thu, Nov 29, 2018 at 06:08:44PM +, Colin King wrote: > From: Colin Ian King > > Currently the node name is being formatting into a temporary string > node_name, however, kobject_init_and_add allows one to format up > a node name, so use that instead. This removes the need for the >

[PATCH][next] drivers: base: remove need for a temporary string for the node name

2018-11-29 Thread Colin King
From: Colin Ian King Currently the node name is being formatting into a temporary string node_name, however, kobject_init_and_add allows one to format up a node name, so use that instead. This removes the need for the node_name string and also cleans up the following warning: Fixes clang

[PATCH][next] drivers: base: remove need for a temporary string for the node name

2018-11-29 Thread Colin King
From: Colin Ian King Currently the node name is being formatting into a temporary string node_name, however, kobject_init_and_add allows one to format up a node name, so use that instead. This removes the need for the node_name string and also cleans up the following warning: Fixes clang