Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/platform/x86/
Dcompal-laptop.c749 static struct platform_device *compal_device; variable
923 wifi_rfkill = rfkill_alloc("compal-wifi", &compal_device->dev, in setup_rfkill()
933 bt_rfkill = rfkill_alloc("compal-bluetooth", &compal_device->dev, in setup_rfkill()
990 data->psy = power_supply_register(&compal_device->dev, &psy_bat_desc, in compal_probe()
1063 compal_device = platform_device_alloc(DRIVER_NAME, PLATFORM_DEVID_NONE); in compal_init()
1064 if (!compal_device) { in compal_init()
1069 ret = platform_device_add(compal_device); /* This calls compal_probe */ in compal_init()
1081 platform_device_del(compal_device); in compal_init()
1084 platform_device_put(compal_device); in compal_init()
1097 platform_device_unregister(compal_device); in compal_cleanup()