reset: replace boolean parameters with flags parameter
Introduce enum reset_control_flags and replace the list of boolean parameters to the internal reset_control_get functions with a single flags parameter, before adding more boolean options. The separate boolean parameters have been shown to be error prone in the past. See for example commit a57f68dd ("reset: Fix devm bulk optional exclusive control getter"). Acked-by:Uwe Kleine-König <u.kleine-koenig@baylibre.com> Link: https://lore.kernel.org/r/20240925-reset-get-deasserted-v2-1-b3601bbd0458@pengutronix.de Signed-off-by:
Philipp Zabel <p.zabel@pengutronix.de>
Loading
Please sign in to comment