i2c: mux: pca954x: make pullup regulator optional
authorLaxman Dewangan <ldewangan@nvidia.com>
Wed, 15 Jan 2014 14:08:46 +0000 (19:08 +0530)
committerLaxman Dewangan <ldewangan@nvidia.com>
Thu, 16 Jan 2014 06:08:34 +0000 (22:08 -0800)
commite301588f084bacbc6683a6b80ad25c4685c77dd0
treefafd0540bc8fe2821a6120fd85d62e5c276cbd21
parent40a2794c810ef3f2b974630ff050e8558a04edb2
i2c: mux: pca954x: make pullup regulator optional

The PCA954X driver require two supply, one for self as vcc and
other for output bus pullup as vcc-pullup.

Making vcc-pullup as optional as this is not mandatory regulator
for device and if it is not available then just do not enable it
and not cause to driver fail.

Change-Id: I1c63a13d01ac609af0a74934742daca7e68b4d00
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/356050
Reviewed-by: Jihoon Bang <jbang@nvidia.com>
drivers/i2c/muxes/i2c-mux-pca954x.c