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]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [Linux for Sparc]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux