diff mbox series

[2/2] tsens: Get rid of unused fields in structure

Message ID 40aa5b9760b09be0970dbe82997db71756927eb0.1527937396.git.amit.kucheria@linaro.org
State Superseded
Headers show
Series None | expand

Commit Message

Amit Kucheria June 2, 2018, 11:11 a.m. UTC
status_field and trdy are unused in any of the tsens drivers. Remove them.

Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>

---
 drivers/thermal/qcom/tsens.h | 2 --
 1 file changed, 2 deletions(-)

-- 
2.7.4

Comments

Bjorn Andersson June 4, 2018, 3:05 p.m. UTC | #1
On Sat 02 Jun 04:11 PDT 2018, Amit Kucheria wrote:

> status_field and trdy are unused in any of the tsens drivers. Remove them.

> 

> Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>


Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>


Regards,
Bjorn

> ---

>  drivers/thermal/qcom/tsens.h | 2 --

>  1 file changed, 2 deletions(-)

> 

> diff --git a/drivers/thermal/qcom/tsens.h b/drivers/thermal/qcom/tsens.h

> index f15660d..77ed8dc 100644

> --- a/drivers/thermal/qcom/tsens.h

> +++ b/drivers/thermal/qcom/tsens.h

> @@ -77,9 +77,7 @@ struct tsens_device {

>  	struct device			*dev;

>  	u32				num_sensors;

>  	struct regmap			*map;

> -	struct regmap_field		*status_field;

>  	struct tsens_context		ctx;

> -	bool				trdy;

>  	const struct tsens_ops		*ops;

>  	struct tsens_sensor		sensor[0];

>  };

> -- 

> 2.7.4

>
diff mbox series

Patch

diff --git a/drivers/thermal/qcom/tsens.h b/drivers/thermal/qcom/tsens.h
index f15660d..77ed8dc 100644
--- a/drivers/thermal/qcom/tsens.h
+++ b/drivers/thermal/qcom/tsens.h
@@ -77,9 +77,7 @@  struct tsens_device {
 	struct device			*dev;
 	u32				num_sensors;
 	struct regmap			*map;
-	struct regmap_field		*status_field;
 	struct tsens_context		ctx;
-	bool				trdy;
 	const struct tsens_ops		*ops;
 	struct tsens_sensor		sensor[0];
 };