diff options
author | Jarkko Nikula <jhnikula@gmail.com> | 2010-10-29 10:31:39 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-12-29 05:16:35 -0500 |
commit | 00df055ae315c9c8792dc4d012e6ad9c4d527e87 (patch) | |
tree | 9edad9db1aee2b40ab3e8b920700ac32ab2f2e9c /include/media/si4713.h | |
parent | bf797165f099296b622bcdcea1126a113e0aaac4 (diff) |
[media] radio-si4713: Add regulator framework support
Convert the driver to use regulator framework instead of set_power callback.
This with gpio_reset platform data provide cleaner way to manage chip VIO,
VDD and reset signal inside the driver.
Signed-off-by: Jarkko Nikula <jhnikula@gmail.com>
Cc: Eduardo Valentin <eduardo.valentin@nokia.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media/si4713.h')
-rw-r--r-- | include/media/si4713.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/media/si4713.h b/include/media/si4713.h index 99850a54ed09..ed7353e8a982 100644 --- a/include/media/si4713.h +++ b/include/media/si4713.h | |||
@@ -23,8 +23,7 @@ | |||
23 | * Platform dependent definition | 23 | * Platform dependent definition |
24 | */ | 24 | */ |
25 | struct si4713_platform_data { | 25 | struct si4713_platform_data { |
26 | /* Set power state, zero is off, non-zero is on. */ | 26 | int gpio_reset; /* < 0 if not used */ |
27 | int (*set_power)(int power); | ||
28 | }; | 27 | }; |
29 | 28 | ||
30 | /* | 29 | /* |