]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Revert "staging: mmal-vchiq: Avoid use of bool in structures"
authorUmang Jain <umang.jain@ideasonboard.com>
Fri, 18 Nov 2022 08:42:42 +0000 (14:12 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 Nov 2022 12:20:21 +0000 (13:20 +0100)
commit733611730676de202fade0cb73792c17d5aa9903
tree8086f8f925fcaeab0c9fd3731ad8cc49cfdcd3d0
parent2b7962bd05163f5b20fb5f933092b997debf8ed6
Revert "staging: mmal-vchiq: Avoid use of bool in structures"

This reverts commit 640e77466e69d9c28de227bc76881f5501f532ca.

In commit 7967656ffbfa ("coding-style: Clarify the expectations around
bool") the check to dis-allow bool structure members was removed from
checkpatch.pl. It promotes bool structure members to store boolean
values. This enhances code readability.

Signed-off-by: Umang Jain <umang.jain@ideasonboard.com>
Reviewed-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Link: https://lore.kernel.org/r/20221118084244.199909-2-umang.jain@ideasonboard.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/vchiq-mmal/mmal-vchiq.c
drivers/staging/vc04_services/vchiq-mmal/mmal-vchiq.h