staging: unisys: unify devmajorminor attributes into visorbus_main.c
authorPrarit Bhargava <prarit@redhat.com>
Tue, 5 May 2015 22:36:07 +0000 (18:36 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 May 2015 13:25:59 +0000 (15:25 +0200)
commit32710457c895baefd7de6687e9e08f40ae7b2d24
tree3f0482ebad2cd8f04e9e8aa2d58db9317f2bc281
parent826b6a0f8677995583b7b54706c8fa20e2491ac3
staging: unisys: unify devmajorminor attributes into visorbus_main.c

The code in devmajorminor_attr.[ch] only creates sysfs files and is
called only in visorbus_main.c.  This code should be unified into
visorbus_main.c.  The only changes are a forward declaration issue with
register_devmajorminor_attributes() and making the functions static.

Signed-off-by: Prarit Bhargava <prarit@redhat.com>
Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorbus/Makefile
drivers/staging/unisys/visorbus/devmajorminor_attr.c [deleted file]
drivers/staging/unisys/visorbus/devmajorminor_attr.h [deleted file]
drivers/staging/unisys/visorbus/visorbus_main.c