[PATCH] driver: move some inline getters for struct device into device.h
Sascha Hauer
s.hauer at pengutronix.de
Tue May 21 04:00:56 PDT 2024
On Fri, 17 May 2024 07:57:51 +0200, Ahmad Fatoum wrote:
> The purpose of device.h is to contain only the device related
> definitions and have as few header dependencies as possible.
>
> dev_of_node() and dev_is_dma_coherent() are accessors for struct device
> and have no other dependencies, so move them into this header as well.
>
>
> [...]
Applied, thanks!
[1/1] driver: move some inline getters for struct device into device.h
https://git.pengutronix.de/cgit/barebox/commit/?id=16a636613978 (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer at pengutronix.de>
More information about the barebox
mailing list