OSDN Git Service

staging: gasket: core: remove kobj_name param from gasket_alloc_dev
authorTodd Poynor <toddpoynor@google.com>
Fri, 10 Aug 2018 03:20:59 +0000 (20:20 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Aug 2018 17:43:42 +0000 (19:43 +0200)
commit57db4be3bbe45bdbd0b073ed6048e86830ded865
tree3c036916b0e806153d8adbe8f3f1290ec6802978
parentc5e0a62ad80aac638f222e8d574f0994c4425f30
staging: gasket: core: remove kobj_name param from gasket_alloc_dev

gasket_alloc_dev can retrieve the device name from the parent parameter,
a separate parameter isn't needed for this.  Rename the variable to
better reflect its meaning, as the name of the parent device for which a
gasket device is being allocated.

Signed-off-by: Todd Poynor <toddpoynor@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gasket/gasket_core.c