[PATCH] linux/amba/bus.h: drop unusable amba_{g,s}et_drvdata macros

Sascha Hauer s.hauer at pengutronix.de
Mon Apr 27 23:55:33 PDT 2015


On Tue, Apr 28, 2015 at 08:12:54AM +0300, Antony Pavlov wrote:
> amba_{g,s}et_drvdata macros from linux kernel use
> dev_{g,s}et_drvdata functions.
> 
> But in linux dev_get_drvdata() takes only one argument
> while in barebox dev_get_drvdata() takes two arguments.
> There is no dev_set_drvdata() in barebox at all.
> 
> So amba_{g,s}et_drvdata macros from linux are
> unusable for barebox.
> 
> Signed-off-by: Antony Pavlov <antonynpavlov at gmail.com>
> ---
>  include/linux/amba/bus.h | 3 ---
>  1 file changed, 3 deletions(-)

Applied, thanks

Sascha


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list