Re: [PATCH v2] drivers: reset: Mark function as static and removeunused function in core.c

From: Philipp Zabel
Date: Mon Jan 06 2014 - 12:28:02 EST


Am Donnerstag, den 19.12.2013, 14:11 +0530 schrieb Rashika Kheria:
> Mark function of_reset_simple_xlate() as static in core.c
> because it is not used outside this file.
> Also, remove functions devm_reset_control_put() and
> devm_reset_control_match() because they are unused.
>
> This eliminates the following warnings in core.c:
> drivers/reset/core.c:46:5: warning: no previous prototype for âof_reset_simple_xlateâ [-Wmissing-prototypes]
> drivers/reset/core.c:262:6: warning: no previous prototype for âdevm_reset_control_putâ [-Wmissing-prototypes]
>
> Signed-off-by: Rashika Kheria <rashika.kheria@xxxxxxxxx>
> Reviewed-by: Josh Triplett <josh@xxxxxxxxxxxxxxxx>
> ---
>
> Changes since v1:
> Incorrect Fix
[...]

I have overlooked this earlier, will apply it as-is.

thanks
Philipp

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/