linux_dsm_epyc7002/drivers/net/ethernet/renesas
Sergei Shtylyov d5e07e6921 sh_eth: use managed device API
Switch the driver to the managed device API by replacing ioremap() calls with
devm_ioremap_resource() (that will also result in calling request_mem_region()
which the driver forgot to do until now) and k[mz]alloc() with devm_kzalloc() --
this permits to simplify driver's probe()/remove() method cleanup. We can now
remove the ioremap() error messages since the error messages are printed by
 devm_ioremap_resource() itself. We can also remove the 'bitbang' field from
'struct sh_eth_private' as we don't need it anymore in order to free the memory
behind it...

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-03-21 17:20:55 -04:00
..
Kconfig net: sh_eth: Add eth support for R8A7779 device 2012-08-20 02:16:54 -07:00
Makefile sh_eth: Move the Renesas SuperH driver 2011-08-12 23:47:36 -07:00
sh_eth.c sh_eth: use managed device API 2013-03-21 17:20:55 -04:00
sh_eth.h sh_eth: use managed device API 2013-03-21 17:20:55 -04:00