]> git.karo-electronics.de Git - karo-tx-linux.git/commit
iio:dac:m62332: use ARRAY_SIZE
authorHartmut Knaack <knaack.h@gmx.de>
Fri, 28 Aug 2015 21:59:55 +0000 (23:59 +0200)
committerJonathan Cameron <jic23@kernel.org>
Sun, 11 Oct 2015 14:42:41 +0000 (15:42 +0100)
commit7d2da8eaa92585769dfbafe285b94c8f743510f6
treeb9fb5cac3567b9356ca005f0a8d4bd81f75cedc6
parent847e3928de0998883219d7052cf4c049c21966e9
iio:dac:m62332: use ARRAY_SIZE

Make use of ARRAY_SIZE to prevent buffer issues.

Signed-off-by: Hartmut Knaack <knaack.h@gmx.de>
Acked-by: Daniel Baluta <daniel.baluta@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/dac/m62332.c