Searched refs:switch_class (Results 1 – 1 of 1) sorted by relevance
82 static struct class_compat *switch_class; variable639 switch_class = class_compat_register("switch"); in create_extcon_class()640 if (WARN(!switch_class, "cannot allocate")) in create_extcon_class()925 if (switch_class) in extcon_dev_register()926 ret = class_compat_create_link(switch_class, &edev->dev, NULL); in extcon_dev_register()1014 if (switch_class) in extcon_dev_unregister()1015 class_compat_remove_link(switch_class, &edev->dev, NULL); in extcon_dev_unregister()1143 class_compat_unregister(switch_class); in extcon_class_exit()