iio:bma180: Missing check for frequency fractional part
iio:bma180: Missing check for frequency fractional part

val2 should be zero

This will make no difference for correct inputs but will reject
incorrect ones with a decimal part in the value written to the sysfs
interface.

Signed-off-by: Peter Meerwald <a2c19d57d338d8f9d8de092166164455662a8cbe@pmeerw.net>
Cc: Oleksandr Kravchenko <4e5f2b6ab793baf802fe9cd39d665426e95bd946@globallogic.com>
Signed-off-by: Jonathan Cameron <09f65b71b7655725897b2fd41a09a0cefe2e1ace@kernel.org>
Cc: d96e5b2dd07c1733b2b013bd82922c22baade37d@vger.kernel.org

KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs