]> git.baikalelectronics.ru Git - kernel.git/commit
drivers: thermal: tsens: Function prototypes should have argument names
authorAmit Kucheria <amit.kucheria@linaro.org>
Wed, 20 Mar 2019 13:17:46 +0000 (18:47 +0530)
committerEduardo Valentin <edubezval@gmail.com>
Tue, 14 May 2019 03:35:36 +0000 (20:35 -0700)
commit5e733f25c58708850d0a932b33ba7f64dac609d3
treecc204e20a799cb4d26d7a6f4ffed0e5048f70043
parent49cc120c5f4df5d435f82f6b1afda6bb784b3105
drivers: thermal: tsens: Function prototypes should have argument names

check_patch complains a lot as follows:

WARNING: function definition argument 'struct tsens_priv *' should also have an identifier name
+       int (*init)(struct tsens_priv *);

Fix it.

Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/qcom/tsens.h