]> git.karo-electronics.de Git - linux-beck.git/commit
[media] s5c73m3: Do not ignore errors from regulator_enable()
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Fri, 31 May 2013 22:43:35 +0000 (19:43 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 13 Jun 2013 00:52:17 +0000 (21:52 -0300)
commita44e3b206a26e3978d1041b4145e5afc4ed52e86
tree43eea9e12c6419d74bcba4b4d760fe57190d0b18
parente0e9f67afcd5e06bc1ff6ecbf130635673a41d48
[media] s5c73m3: Do not ignore errors from regulator_enable()

This fixes following compilation warning:
drivers/media/i2c/s5c73m3/s5c73m3-core.c: In function ‘__s5c73m3_power_off’:
drivers/media/i2c/s5c73m3/s5c73m3-core.c:1389:19: warning: ignoring return value
of ‘regulator_enable’, declared with attribute warn_unused_result

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/i2c/s5c73m3/s5c73m3-core.c