# Re: \[PATCH\] amba: Ensure drvdata is NULL

- From: Russell King - ARM Linux \<hidden\>
- Date: 2013-10-02 20:25:48 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2013/10/4126461
- Thread: https://ratatoskr.run/linux-arm-kernel/2013/09/4124818/t.md

```text
On Mon, Sep 30, 2013 at 08:59:06AM +0200, Michal Simek wrote:
> This patch is inpired by the patch for drvdata
> "device-core: Ensure drvdata = NULL when no driver is bound"
> (sha1: 0998d0631001288a5974afc0b2a5f568bcdecb4d)
> 
> Also it fixes all occurences in drivers.
> 
> Signed-off-by: Michal Simek <redacted>
> ---
> This patch has been sent as RFC in this thread.
> http://lkml.org/lkml/2013/9/4/393

Why not have the driver core do this?  Then it gets applied to all bus
types uniformly.

Thanks.
```
