lkml.org 
[lkml]   [2012]   [Jan]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] regulator: Add empty devm_regulator_free for !CONFIG_REGULATOR
> +static inline void devm_regulator_free(struct regulator *regulator)
> +{
> +}
> +

Oh wait.
I found commit d5ad34f7cb "regulator: Implement devm_regulator_free()"
has declared devm_regulator_free in include/linux/regulator/consumer.h
But it actually implements devm_regulator_put instead of devm_regulator_free.

Mark, I guess what you want is to declare devm_regulator_put instead
of devm_regulator_free
in consumer.h.

Regards,
Axel
>  static inline int regulator_enable(struct regulator *regulator)
>  {
>        return 0;
> --
> 1.7.5.4
>
>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2012-01-29 10:45    [W:0.134 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site