Messages in this thread | | | Subject | Re: mmc: struct device - replace bus_id with dev_name(), dev_set_name() | From | Harvey Harrison <> | Date | Wed, 29 Oct 2008 22:15:54 -0700 |
| |
On Thu, 2008-10-30 at 05:37 +0100, Marcel Holtmann wrote: > Hi Harvey, > > > > A lot of these helpers don't seem to add that much, would you care for > > a patch removing them Pierre? > > > > Specifically sdio_func_id, sdio_get/set_drvdata don't have that many > > users. > > I prefer if we keep them. Since they take the proper parameter. > Otherwise the driver has to always got func->dev for everything. Most > SDIO drivers care of the function and not about the struct device > underneath it. >
Sure, it just seemed odd to have a wrapper around a wrapper.
Cheers,
Harvey
| |