Re: [PATCH v2 06/10] usb: ulpi: remove old api callbacks from struct ulpi_ops

From: Heikki Krogerus
Date: Tue Aug 16 2016 - 06:56:08 EST


On Mon, Aug 01, 2016 at 09:15:54PM +0300, Tal Shorer wrote:
> The old api callbacks, read() and write(), are not referenced anywhere.
> Remove them.
>
> Signed-off-by: Tal Shorer <tal.shorer@xxxxxxxxx>
> ---
> include/linux/ulpi/interface.h | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/include/linux/ulpi/interface.h b/include/linux/ulpi/interface.h
> index d8189d0..71f3c99 100644
> --- a/include/linux/ulpi/interface.h
> +++ b/include/linux/ulpi/interface.h
> @@ -13,8 +13,6 @@ struct ulpi;
> */
> struct ulpi_ops {
> struct device *dev;
> - int (*read)(struct ulpi_ops *ops, u8 addr);
> - int (*write)(struct ulpi_ops *ops, u8 addr, u8 val);
> int (*read_dev)(struct device *dev, u8 addr);
> int (*write_dev)(struct device *dev, u8 addr, u8 val);
> };
> --
> 2.7.4

Squash patches 5-6 into one patch.


Thanks,

--
heikki