[PATCH 11/28] iio: adc: ti-tsc2046: use = { } instead of memset()

Oleksij Rempel o.rempel at pengutronix.de
Wed Jun 11 21:30:07 PDT 2025


On Wed, Jun 11, 2025 at 05:39:03PM -0500, David Lechner wrote:
> Use { } instead of memset() to zero-initialize stack memory to simplify
> the code.
> 
> Signed-off-by: David Lechner <dlechner at baylibre.com>

Reviewed-by: Oleksij Rempel <o.rempel at pengutronix.de>

Thank you!
-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the linux-arm-kernel mailing list