Skip to content

Commit

Permalink
thermal: of-thermal: Appease the kernel-doc deity
Browse files Browse the repository at this point in the history
Replace a comment starting with /** by simply /* to avoid having
it interpreted as a kernel-doc comment.

Fixes the following warning when compile with make W=1:
linux.git/drivers/thermal/of-thermal.c:761: warning: cannot understand function prototype: 'const char *trip_types[] = '

Signed-off-by: Amit Kucheria <[email protected]>
Reviewed-by: Viresh Kumar <[email protected]>
Signed-off-by: Daniel Lezcano <[email protected]>
Link: https://lore.kernel.org/r/dc742789bf4b3c8207b01c7946f2b401350536a7.1574242756.git.amit.kucheria@linaro.org
  • Loading branch information
idlethread authored and dlezcano committed Jan 27, 2020
1 parent c56dcfa commit faae0ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/thermal/of-thermal.c
Original file line number Diff line number Diff line change
Expand Up @@ -754,7 +754,7 @@ static int thermal_of_populate_bind_params(struct device_node *np,
return ret;
}

/**
/*
* It maps 'enum thermal_trip_type' found in include/linux/thermal.h
* into the device tree binding of 'trip', property type.
*/
Expand Down

0 comments on commit faae0ed

Please sign in to comment.