mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
cdev: remove unneeded setting of cdev names
struct cdev does not need the kobject name to be set, as it is never used. This patch fixes up the few places it is set. Signed-off-by: Greg Kroah-Hartman <[email protected]> Acked-by: Mauro Carvalho Chehab <[email protected]>
This commit is contained in:
parent
19c38de88a
commit
7e7654a92a
4 changed files with 5 additions and 16 deletions
|
|
@ -1010,10 +1010,7 @@ unlock:
|
|||
}
|
||||
EXPORT_SYMBOL_GPL(bsg_register_queue);
|
||||
|
||||
static struct cdev bsg_cdev = {
|
||||
.kobj = {.name = "bsg", },
|
||||
.owner = THIS_MODULE,
|
||||
};
|
||||
static struct cdev bsg_cdev;
|
||||
|
||||
static int __init bsg_init(void)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue