]> git.ipfire.org Git - people/ms/u-boot.git/commit
dm: gpio: pca953x: Drop pointless data structure checks
authorSimon Glass <sjg@chromium.org>
Sun, 17 Sep 2017 22:54:54 +0000 (16:54 -0600)
committerSimon Glass <sjg@chromium.org>
Mon, 9 Oct 2017 02:41:09 +0000 (20:41 -0600)
commitae06a1b9960aa97bd876840ebdb644c2952cd482
tree5125f2dde49762c757fb42084178832e3114548c
parent7c84319af9c76084f50f3f2b97545bfa05f3971d
dm: gpio: pca953x: Drop pointless data structure checks

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@chromium.org>
drivers/gpio/pca953x_gpio.c