Searched refs:compal_device (Results 1 – 1 of 1) sorted by relevance
774 static struct platform_device *compal_device; variable948 wifi_rfkill = rfkill_alloc("compal-wifi", &compal_device->dev, in setup_rfkill()958 bt_rfkill = rfkill_alloc("compal-bluetooth", &compal_device->dev, in setup_rfkill()1014 compal_device = platform_device_alloc(DRIVER_NAME, -1); in compal_init()1015 if (!compal_device) { in compal_init()1020 ret = platform_device_add(compal_device); /* This calls compal_probe */ in compal_init()1032 platform_device_del(compal_device); in compal_init()1035 platform_device_put(compal_device); in compal_init()1078 data->psy = power_supply_register(&compal_device->dev, &psy_bat_desc, in compal_probe()1096 platform_device_unregister(compal_device); in compal_cleanup()