Re: [PATCH 2/3] OMAP3: PM: Smartreflex IP update changes for OMAP3630

Felipe Balbi
2010-03-08T18:11:59Z

On Mon, Mar 08, 2010 at 10:50:50PM +0530, Thara Gopinath wrote:
> +static inline int sr_type(void)
> +{
> + if (cpu_is_omap3630())
> + return SR_TYPE_V2;
> + else if (cpu_is_omap343x())
> + return SR_TYPE_V1;
> + else {
> + pr_err("Trying to enable SR for Chip not support SR! \n");
> + return 0;
> + }

if one branch has curly braces, all of them should have. Check
Documentation/CodingStyle.

--
balbi