Home
last modified time | relevance | path

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

/openbmc/linux/drivers/platform/x86/
H A 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()
1061 compal_device = platform_device_alloc(DRIVER_NAME, PLATFORM_DEVID_NONE); in compal_init()
1062 if (!compal_device) { in compal_init()
1067 ret = platform_device_add(compal_device); /* This calls compal_probe */ in compal_init()
1079 platform_device_del(compal_device); in compal_init()
1082 platform_device_put(compal_device); in compal_init()
1095 platform_device_unregister(compal_device); in compal_cleanup()