wl12xx: spi: use dev_err instead of wl1271_error
commite5d3625e8741d204e8c3f0a959f92c9e901519aa
authorLuciano Coelho <coelho@ti.com>
Fri, 7 Oct 2011 11:33:29 +0000 (7 14:33 +0300)
committerLuciano Coelho <coelho@ti.com>
Tue, 11 Oct 2011 13:24:56 +0000 (11 16:24 +0300)
treed56b158e4aad90cc01ce9055da30ac208f764007
parent3c4d386868dcbfb9fa51427e314fde39ee70b0ff
wl12xx: spi: use dev_err instead of wl1271_error

To prevent a useless dependency between the spi module and the wl12xx
module, we need to replace the wl1271_error macros with dev_err.

At the same time, remove the SPI data hexdump, since this produces way
too much data and is not particularly useful.  There's no
print_hex_dump() equivalent for dynamic debug, so it's hard to control
when the dumps are printed out.

Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/wl12xx/spi.c