[U-Boot] [PATCH 4/4] dm: gpio: pca953x: Drop pointless data structure checks
sjg at google.com
sjg at google.com
Fri Sep 29 21:00:30 UTC 2017
These checks cannot fail since driver model will not call a driver's
method if it cannot fully create the driver data structures.
It is confusing to have these checks and others might copy them. Drop this
code.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
drivers/gpio/pca953x_gpio.c | 11 -----------
1 file changed, 11 deletions(-)
Applied to u-boot-dm thanks!
More information about the U-Boot
mailing list