mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 23:00:53 +07:00
Staging: ipack: ipack: fix coding style issues
This uses linux/io.h instead of asm/io.h and cleans up an 80+ character issue. Signed-off-by: Johan Meiring <johanmeiring@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
bf83e30ec6
commit
0a8f4a07e6
@ -12,7 +12,7 @@
|
||||
#include <linux/module.h>
|
||||
#include <linux/slab.h>
|
||||
#include <linux/idr.h>
|
||||
#include <asm/io.h>
|
||||
#include <linux/io.h>
|
||||
#include "ipack.h"
|
||||
|
||||
#define to_ipack_dev(device) container_of(device, struct ipack_device, dev)
|
||||
@ -242,7 +242,8 @@ static int ipack_unregister_bus_member(struct device *dev, void *data)
|
||||
|
||||
int ipack_bus_unregister(struct ipack_bus_device *bus)
|
||||
{
|
||||
bus_for_each_dev(&ipack_bus_type, NULL, bus, ipack_unregister_bus_member);
|
||||
bus_for_each_dev(&ipack_bus_type, NULL, bus,
|
||||
ipack_unregister_bus_member);
|
||||
ida_simple_remove(&ipack_ida, bus->bus_nr);
|
||||
kfree(bus);
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user