Re: [PATCH 01/11] RTC subsystem, class

From: Dmitry Torokhov
Date: Mon Feb 13 2006 - 22:47:09 EST


On Monday 13 February 2006 17:54, Alessandro Zummo wrote:
> +
> +struct rtc_device
> +{
> + int id;
> + struct module *owner;
> + struct class_device class_dev;
> + struct semaphore ops_lock;

Alessandro,

I believe we are moving from struct semaphore to mutex whenever possible.
It would be nice if new code used new primitives.


--
Dmitry
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/