# \[PATCH 0/6\] drivers: convert struct spinlock to spinlock\_t

- From: Luis R. Rodriguez \<hidden\>
- Date: 2012-11-30 19:19:06 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2012/11/3966086
- Thread: https://ratatoskr.run/linux-wireless/2012/11/3965400/t.md

```text
On Fri, Nov 30, 2012 at 12:38 AM, Arend van Spriel [ref] wrote:
> So what is the rationale here. During mainlining our drivers we had to
> remove all uses of 'typedef struct foo foo_t;'. The Linux CodingStyle
> (chapter 5 Typedefs) is spending a number of lines explaining why.
>
> So is spinlock_t an exception to this rule simply because the kernel
> uses spinlock_t all over the place.

Yes.

  Luis
```
