]> git.baikalelectronics.ru Git - kernel.git/commit
iio: adc: aspeed: Fix error handling path
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Mon, 8 Jan 2018 06:47:36 +0000 (07:47 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 14 Jan 2018 11:01:13 +0000 (11:01 +0000)
commit05259f659d9b2452abeeb4c7d8cfa7ea66bce974
treed462f9010aaab08056fc3b4327d4412dcef05520
parent0e070ce89260363ecf635bc241f7c327c9f96e5f
iio: adc: aspeed: Fix error handling path

The labels and branching order of the error path of 'aspeed_adc_probe()'
are broken.
Re-order the labels and goto statements.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/aspeed_adc.c