mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
staging: media: atomisp: Remove gc2235_init() function.
Remove gc2235_init() function definition and call, as it is used only once in gc2235.c file. Replace the function call with return value, __gc2235_init() function call. Signed-off-by: Varsha Rao <rvarsha016@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
d64fe06e1e
commit
68f9c65467
1 changed files with 1 additions and 5 deletions
|
|
@ -539,10 +539,6 @@ static int __gc2235_init(struct v4l2_subdev *sd)
|
|||
}
|
||||
|
||||
static int is_init;
|
||||
static int gc2235_init(struct v4l2_subdev *sd)
|
||||
{
|
||||
return __gc2235_init(sd);
|
||||
}
|
||||
|
||||
static int power_ctrl(struct v4l2_subdev *sd, bool flag)
|
||||
{
|
||||
|
|
@ -669,7 +665,7 @@ static int gc2235_s_power(struct v4l2_subdev *sd, int on)
|
|||
else {
|
||||
ret = power_up(sd);
|
||||
if (!ret)
|
||||
ret = gc2235_init(sd);
|
||||
ret = __gc2235_init(sd);
|
||||
is_init = 1;
|
||||
}
|
||||
return ret;
|
||||
|
|
|
|||
Loading…
Reference in a new issue