+
+static inline void active_dec(struct driver_data *drv_data)
+{
+ int i;
+ i = atomic_sub_return(1,&drv_data->active);
+ pm_runtime_put(&drv_data->pdev->dev);
+}
this does not make sense to me. the pm_runtome_get and such are ALREADY refcounts
why are you adding your own? and then abstract it into some function? _______________________________________________ MeeGo-dev mailing list [email protected] http://lists.meego.com/listinfo/meego-dev
