Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ee7ebdf4 authored by Ralf Baechle's avatar Ralf Baechle Committed by Jeff Garzik
Browse files

[PATCH] jazzsonic: Fix platform device code



Use platform_driver_unregister not driver_unregister to unregister a
struct platform_driver.

Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
Signed-off-by: default avatarJeff Garzik <jgarzik@pobox.com>
parent 23c2a7b5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -307,7 +307,7 @@ static int __init jazz_sonic_init_module(void)
	return 0;

out_unregister:
	driver_unregister(&jazz_sonic_driver);
	platform_driver_unregister(&jazz_sonic_driver);

	return -ENOMEM;
}