net: smc911x: use io{read,write}*_rep accessors
authorMatthew Leach <matthew@mattleach.net>
Tue, 11 Dec 2012 04:49:49 +0000 (04:49 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 11 Dec 2012 17:49:53 +0000 (12:49 -0500)
commit2925f6c0c7af32720dcbadc586463aeceb6baa22
tree45a0927d4d662e8a9a1c83ba1a84c42d17854f23
parenta71258d79e3d05632e90c9f7db5ccf929d276529
net: smc911x: use io{read,write}*_rep accessors

The {read,write}s{b,w,l} operations are not defined by all
architectures and are being removed from the asm-generic/io.h
interface.

This patch replaces the usage of these string functions in the smc911x
accessors with io{read,write}{8,16,32}_rep calls instead.

Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Ben Herrenschmidt <benh@kernel.crashing.org>
Cc: netdev@vger.kernel.org
Signed-off-by: Matthew Leach <matthew@mattleach.net>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/smsc/smc911x.h
drivers/net/ethernet/smsc/smsc911x.c