Re: [PATCH v3 1/6] Add header files and Kbuild plumbing for SI476x MFD core

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

 



On Tue, 2012-10-23 at 11:44 -0700, Andrey Smirnov wrote:
> This patch adds all necessary header files and Kbuild plumbing for the
> core driver for Silicon Laboratories Si476x series of AM/FM tuner
> chips.

[]

> +#ifdef DEBUG
> +#define DBG_BUFFER(device, header, buffer, bcount)			\
> +	do {								\
> +		dev_info((device), header);				\
> +		print_hex_dump_bytes("",				\
> +				     DUMP_PREFIX_OFFSET,		\
> +				     buffer, bcount);			\
> +	} while (0)

maybe just:
	dev_dbg(device, whatever_fmt ": %*ph\n", bcount, buffer);
at each call site


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


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux