}
static struct pci_driver wl_pci_driver = {
- .name = KBUILD_MODNAME,
- .name = "brcm80211",
-- .probe = wl_pci_probe,
- #ifdef LINUXSTA_PS
-- .suspend = wl_suspend,
- .resume = wl_resume,
- #endif /* LINUXSTA_PS */
- .resume = wl_resume,
- .remove = __devexit_p(wl_remove),
++ .name = KBUILD_MODNAME,
++ .probe = wl_pci_probe,
++ .suspend = wl_suspend,
++ .resume = wl_resume,
+ .remove = __devexit_p(wl_remove),
.id_table = wl_id_table,
};
if (retval) {
dev_err(&client->dev, "%s:Unable to get attn irq %d\n",
__func__, platformdata->irq_number);
- goto err_request_irq;
- goto err_unset_clientdata;
++ goto err_query_dev;
+ }
+
+ retval = input_register_device(rmi4_data->input_dev);
+ if (retval) {
+ dev_err(&client->dev, "%s:input register failed\n", __func__);
+ goto err_free_irq;
}
return retval;
- err_request_irq:
+ err_free_irq:
free_irq(platformdata->irq_number, rmi4_data);
- input_unregister_device(rmi4_data->input_dev);
-err_unset_clientdata:
- i2c_set_clientdata(client, NULL);
err_query_dev:
if (platformdata->regulator_en) {
regulator_disable(rmi4_data->regulator);