RE: [RFCv4 PATCH 04/13] usb: gadget: example port of mass storage to UFG: storage common: change struct device to configfs entities

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

 



On Thursday, November 22, 2012 10:07 PM Michal Nazarewicz wrote:
> On Thu, Nov 22 2012, Andrzej Pietrasiewicz wrote:
> > @@ -45,10 +46,9 @@
> >  #define VLDBG(lun, fmt, args...) do { } while (0)  #endif /*
> > VERBOSE_DEBUG */
> >
> > -#define LDBG(lun, fmt, args...)   dev_dbg (&(lun)->dev, fmt, ## args)
> > -#define LERROR(lun, fmt, args...) dev_err (&(lun)->dev, fmt, ## args)
> > -#define LWARN(lun, fmt, args...)  dev_warn(&(lun)->dev, fmt, ## args)
> > -#define LINFO(lun, fmt, args...)  dev_info(&(lun)->dev, fmt, ## args)
> > +#define LERROR(lun, fmt, args...)  pr_err(fmt, ## args)
> > +#define LDBG(lun, fmt, args...)   pr_debug(fmt, ## args)
> > +#define LINFO(lun, fmt, args...)  pr_info(fmt, ## args)
> 
> Why is it changed in this patch?
> 

The patches were structured in order to show the steps required to convert
mass storage to the new framework. This patch removes struct devices
and code related to struct devices. That's what I meant.

Andrzej



--
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