CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer
needed, remove it.
Also fix the indentation for the initialization of the
hpfb_driver struct to make chkpatch happy.
Signed-off-by: Bill Pemberton <redacted>
Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Cc: linux-fbdev@vger.kernel.org
---
drivers/video/hpfb.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/video/hpfb.c b/drivers/video/hpfb.c
index 7324865..1f15523 100644
--- a/drivers/video/hpfb.c
+++ b/drivers/video/hpfb.c
@@ -370,10 +370,10 @@ static struct dio_device_id hpfb_dio_tbl[] = {
};
static struct dio_driver hpfb_driver = {
- .name = "hpfb",
- .id_table = hpfb_dio_tbl,
- .probe = hpfb_dio_probe,
- .remove = __devexit_p(hpfb_remove_one),
+ .name = "hpfb",
+ .id_table = hpfb_dio_tbl,
+ .probe = hpfb_dio_probe,
+ .remove = hpfb_remove_one,
};
int __init hpfb_init(void)--
1.8.0