mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
maple: Kill useless private_data pointer.
We can simply wrap in to the dev_set/get_drvdata(), there's no reason to track an extra level of private data on top of the struct device. Signed-off-by: Paul Mundt <[email protected]>
This commit is contained in:
parent
63870295de
commit
617870632d
3 changed files with 12 additions and 8 deletions
|
|
@ -94,6 +94,7 @@ void maple_driver_unregister(struct maple_driver *drv)
|
|||
{
|
||||
driver_unregister(&drv->drv);
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(maple_driver_unregister);
|
||||
|
||||
/* set hardware registers to enable next round of dma */
|
||||
static void maplebus_dma_reset(void)
|
||||
|
|
|
|||
Loading…
Reference in a new issue