s390/crypto: provide correct file mode at device register.
authorHarald Freudenberger <freude@linux.vnet.ibm.com>
Thu, 17 Mar 2016 13:52:17 +0000 (14:52 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 29 Mar 2016 08:55:12 +0000 (10:55 +0200)
commit74b2375e6767935e6d9220bdbc6ed0db57f71a59
tree95d222f67898aeda5c7684c2d0a2cd9d2cc06475
parentfc897c95e91451271cd707ee0f71022b9b201ce9
s390/crypto: provide correct file mode at device register.

When the prng device driver calls misc_register() there is the possibility
to also provide the recommented file permissions. This fix now gives
useful values (0644) where previously just the default was used (resulting
in 0600 for the device file).

Signed-off-by: Harald Freudenberger <freude@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/crypto/prng.c