Re: [PATCH] USB: Add more empty functions in otg.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Sep 27, 2010 at 10:32:56PM +0300, Grazvydas Ignotas wrote:
> On Mon, Sep 27, 2010 at 9:22 PM, Greg KH <gregkh@xxxxxxx> wrote:
> > On Mon, Sep 27, 2010 at 03:17:18PM +0300, Grazvydas Ignotas wrote:
> >> Add empty functions for get/put transceiver functions too, so that
> >> drivers that optionally use them can call them without worrying that
> >> they might not exist, eliminating ifdefs.
> >>
> >> Signed-off-by: Grazvydas Ignotas <notasas@xxxxxxxxx>
> >
> > What code depends on this? ?Or are you going to send follow-on patches
> > to remove any existing ifdefs?
> 
> Well I'm doing a charger driver [1] that can work with and without OTG
> support (to support AC+USB or just AC charging), and Felipe suggested
> sending this patch instead of ifdefing around otg_*_transceiver
> functions.

Ah, ok, that makes sense, thanks.

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux