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 <lethal@linux-sh.org>
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user