On Sat, Apr 19, 2014 at 09:11:26PM +0200, Pavel Machek wrote:
> Hi!
>
> > Make HSI channel ids platform data, which can be provided
> > by platform data.
> >
>
> > static void hsi_client_release(struct device *dev)
> > {
> > - kfree(to_hsi_client(dev));
> > + struct hsi_client *cl = to_hsi_
Hi!
> Make HSI channel ids platform data, which can be provided
> by platform data.
>
> static void hsi_client_release(struct device *dev)
> {
> - kfree(to_hsi_client(dev));
> + struct hsi_client *cl = to_hsi_client(dev);
> +
> + if (cl->tx_cfg.channels)
> + kfree(cl->tx
Make HSI channel ids platform data, which can be provided
by platform data.
Signed-off-by: Sebastian Reichel
---
drivers/hsi/clients/hsi_char.c | 12 +--
drivers/hsi/hsi.c | 49 +-
include/linux/hsi/hsi.h| 24 +-
3 matches
Mail list logo