Re: [linux-sunxi] Re: [PATCH v4 2/5] soc: sunxi: Add driver for Allwinner Reduced Serial Bus

2015-09-24 Thread Chen-Yu Tsai
On Thu, Sep 24, 2015 at 12:45 AM, Mark Brown wrote: > On Thu, Sep 24, 2015 at 12:05:18AM +0800, Chen-Yu Tsai wrote: > >> +static int sunxi_rsb_device_probe(struct device *dev) >> +{ >> + const struct sunxi_rsb_driver *drv = to_sunxi_rsb_driver(dev->driver); >> + struct

[linux-sunxi] Re: [PATCH v4 2/5] soc: sunxi: Add driver for Allwinner Reduced Serial Bus

2015-09-23 Thread Mark Brown
On Thu, Sep 24, 2015 at 12:05:18AM +0800, Chen-Yu Tsai wrote: > +static int sunxi_rsb_device_probe(struct device *dev) > +{ > + const struct sunxi_rsb_driver *drv = to_sunxi_rsb_driver(dev->driver); > + struct sunxi_rsb_device *rdev = to_sunxi_rsb_device(dev); > + int ret; > + > +