staging: unisys: visorbus: visorchipset.c: Don't check for more than PAGE_SIZE length
authorDavid Binder <david.binder@unisys.com>
Tue, 3 Jan 2017 21:01:15 +0000 (16:01 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Jan 2017 17:48:03 +0000 (18:48 +0100)
commit746fb137c1d30fdc690df3df80bf12ff0dcc4fd2
tree83f8137b0134c556a3f01651273e2496a5838cb9
parent7a41385e68da3c63899f3e22b6bdc513e59a1703
staging: unisys: visorbus: visorchipset.c: Don't check for more than PAGE_SIZE length

Since a sysfs entry is allocated 1 page of memory (4096 bytes) by default,
there is no need to enforce this limit in the driver. This patch corrects
visorbus/visorchipset.c.

Signed-off-by: David Binder <david.binder@unisys.com>
Signed-off-by: David Kershner <david.kershner@unisys.com>
Reported-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorbus/visorchipset.c