Re: [PATCH] hid: add force feedback support for SmartJoy PLUS PS2/USB adapter

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

 



On Tue, May 12, 2009 at 12:02:27AM +0200, Jiri Slaby wrote:
> On 05/11/2009 11:46 PM, Greg KH wrote:
> > On Mon, May 11, 2009 at 05:48:55PM +0200, Jiri Slaby wrote:
> >> Here comes some of my comments to the rest:
> >>
> >> +#define debug(format, arg...) pr_debug("hid-sjoyff: " format "\n" , ## arg)
> >>
> >> Define pr_fmt instead of this.
> > 
> > No, please use dev_dbg() instead of creating a new macro.
> 
> No, unfortunately there is no struct device available in the two
> functions he uses this macro in.
> 
> It should look like
> 
> #define pr_fmt(fmt) "hid-sjoyff: " fmt "\n"
> 
> and then use pr_debug as usual.
> 
> In other places he correctly uses dev_* stuff.

Oh, ok, yes, that's correct, sorry for not looking closer.

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-input" 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 Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux