linux/drivers/staging
Eva Rachel Retuya f0879217a8 staging: iio: ad7606: rework regulator handling
Currently, this driver ignores all errors from regulator_get(). The way
it is now, it also breaks probe deferral (EPROBE_DEFER). The correct
behavior is to propagate the error to the upper layers so they can
handle it accordingly.

Rework the regulator handling so that it matches the standard behavior.
If the specific design uses a static always-on regulator and does not
explicitly specify it, regulator_get() will return the dummy regulator.

Suggested-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Eva Rachel Retuya <eraretuya@gmail.com>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
History 2016-10-23 19:34:19 +01:00
..
android staging: android ion/hisi: fix dependencies 2016-09-16 10:22:35 +02:00
board staging: board: line over 80 characters 2016-04-29 17:58:02 -07:00
clocking-wizard Staging: clocking-wizard: CHECK:Please use a blank line 2016-02-07 20:05:31 -08:00
comedi staging: comedi: Use vma_pages function on vma object instead of explicit computation 2016-09-20 14:01:21 +02:00
dgnc staging: dgnc: Merge assignment with return 2016-09-20 13:41:51 +02:00
emxx_udc staging: emxx_udc: add braces to if-else block 2016-09-16 10:10:34 +02:00
fbtft Staging: fbtft: Use !x instead of x == NULL. 2016-09-18 12:38:27 +02:00
fsl-mc Staging: fsl-mc: Use !x instead of x == NULL. 2016-09-20 13:52:51 +02:00
fwserial staging: fwserial: fix checkpatch permission warnings 2016-09-13 15:44:46 +02:00
gdm724x staging: gdm724x: Remove unnecessary blank line 2016-09-16 10:10:34 +02:00
goldfish staging: goldfish: audio: fix compiliation on arm 2016-03-11 22:09:09 -08:00
greybus staging: greybus: uart.c: fix alignment to match open parenthesis 2016-09-22 11:54:47 +02:00
gs_fpgaboot staging: gs_fpgaboot: Remove FSF address from GPL notice 2016-09-16 10:10:34 +02:00
i4l staging: i4l: act2000: Move assignment out of if statement 2016-09-20 13:46:32 +02:00
iio staging: iio: ad7606: rework regulator handling 2016-10-23 19:34:19 +01:00
ks7010 staging: ks7010: Remove unnecessary variable used to store return value 2016-09-22 11:54:48 +02:00
lustre staging: lustre: ptlrpc: re-export lustre_swab_lov_mds_md 2016-09-21 09:55:57 +02:00
media staging: media: cxd2099: replace printk with dev_info 2016-09-20 13:59:45 +02:00
most staging: most: replace MOST_CH_ISOC_AVP with MOST_CH_ISOC 2016-09-22 11:54:47 +02:00
mt29f_spinand staging: mt29f_spinand: set ECC algorithm explicitly 2016-05-05 23:52:04 +02:00
netlogic Staging: netlogic: Remove unused function 2016-09-16 10:10:34 +02:00
nvec Staging: nvec: removes a useless cast on a void pointer 2016-03-28 07:30:36 -07:00
octeon Staging: octeon: Add missing of_node_put after calling of_parse_phandle. 2016-09-20 13:51:24 +02:00
octeon-usb staging: octeon-usb: Remove unnecessary assignment 2016-09-22 11:54:48 +02:00
olpc_dcon Revert "staging: olpc_dcon: Replace a bit shift by a use of BIT." 2016-09-18 13:09:50 +02:00
rtl8188eu Staging:rtl8188eu: Fix multiple blank lines 2016-09-22 11:54:48 +02:00
rtl8192e staging: rtl8192e: Insert blank line after function declaration 2016-09-20 13:36:57 +02:00
rtl8192u Staging: rtl8192u: Remove useless type conversion 2016-09-20 13:35:45 +02:00
rtl8712 Staging: rtl8712: rtl871x_cmd: Use !x instead of x == NULL. 2016-09-20 13:38:00 +02:00
rts5208 staging: rts5208: Remove space after cast 2016-09-20 14:03:04 +02:00
skein staging: skein: cleanup: align code to parentheses 2016-05-03 14:07:11 -07:00
slicoss staging: slicoss: Move NULL test closer to assignment 2016-09-22 11:54:48 +02:00
sm750fb staging: sm750fb: Remove unnecessary parentheses 2016-09-22 11:54:48 +02:00
speakup Staging: speakup: kobjects: Add space around the operator. 2016-09-22 12:01:14 +02:00
unisys staging: unisys: include: remove unused ULTRA_CHANNELCLI_STRING 2016-09-21 12:06:20 +02:00
vme drivers: staging: vme: convert to octal notation for permission bits 2016-09-17 23:36:53 +02:00
vt6655 Staging: vt6655: baseband: Remove unnecessary space after a cast 2016-09-20 13:59:46 +02:00
vt6656 staging: vt6656: usbpipe.c: Fix checkpatch warning 2016-08-30 19:09:47 +02:00
wilc1000 staging: wilc1000: Merge assignment with return 2016-09-20 13:32:28 +02:00
wlan-ng staging: wlan-ng: fixed block comment formatting 2016-09-22 11:54:46 +02:00
xgifb staging: xgifb: Remove unused variable and if statement 2016-09-22 11:54:47 +02:00
Kconfig Merge branch 'greybus' into staging-testing 2016-09-19 19:34:33 +02:00
Makefile Merge branch 'greybus' into staging-testing 2016-09-19 19:34:33 +02:00