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-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to