iio: magnetometer: ak8974: add_device_randomness (serial number)
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>
Thu, 17 Aug 2017 13:56:11 +0000 (15:56 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 20 Aug 2017 14:17:27 +0000 (15:17 +0100)
commit408cc6eb1e3adc43a434d5d584708c2a1d2c6c32
tree35482b785e4330670f6c9e34ce3f92a63bc8c98e
parent21be26fc6786a674b7b10f50ba29e4459cbd1aa8
iio: magnetometer: ak8974: add_device_randomness (serial number)

Mix device-specific data into randomness pool.

Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/magnetometer/ak8974.c