Home
last modified time | relevance | path

Searched refs:switch_class (Results 1 – 1 of 1) sorted by relevance

/linux-4.1.27/drivers/extcon/
Dextcon.c70 static struct class_compat *switch_class; variable
578 switch_class = class_compat_register("switch"); in create_extcon_class()
579 if (WARN(!switch_class, "cannot allocate")) in create_extcon_class()
861 if (switch_class) in extcon_dev_register()
862 ret = class_compat_create_link(switch_class, &edev->dev, NULL); in extcon_dev_register()
939 if (switch_class) in extcon_dev_unregister()
940 class_compat_remove_link(switch_class, &edev->dev, NULL); in extcon_dev_unregister()
1056 class_compat_unregister(switch_class); in extcon_class_exit()