Skip to content

Commit

Permalink
Staging: ipack: ipack: fix coding style issues
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Johan Meiring authored and Greg Kroah-Hartman committed Nov 13, 2012
1 parent bf83e30 commit 0a8f4a0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions drivers/staging/ipack/ipack.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 0a8f4a0

Please sign in to comment.