On Mon, Sep 23, 2019 at 08:58:14AM +0200, Gerd Hoffmann wrote:
> There is little reason for the from/to logic, printing a subset of
> the bits can be done by simply shifting/masking value if needed.
>
> Also use for_each_set_bit().
>
> Suggested-by: Jani Nikula
> Signed-off-by: Gerd Hoffmann
>
There is little reason for the from/to logic, printing a subset of
the bits can be done by simply shifting/masking value if needed.
Also use for_each_set_bit().
Suggested-by: Jani Nikula
Signed-off-by: Gerd Hoffmann
Reviewed-by: Jani Nikula
---
include/drm/drm_print.h | 5 ++---