Re: [PATCH V2 3/4] thermal/drivers/tsens: Add support for IPQ5018 tsens

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



<..>

+static int init_ipq5018(struct tsens_priv *priv)
+{
+       int ret;
+       u32 mask;
+
+       init_common(priv);

Please take care of init_common()'s return code. Don't continue init
if init_common() fails.

 ok


+       if (!priv->tm_map)
+               return -ENODEV;

Why?

 ok, redundant, will remove.

Regards,
 Sricharan





[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux