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 <s...@chromium.org> --- drivers/gpio/pca953x_gpio.c | 11 ----------- 1 file changed, 11 deletions(-) Applied to u-boot-dm thanks! _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot