misc/at24: add more sanity checks for parameters
authorWolfram Sang <w.sang@pengutronix.de>
Wed, 17 Nov 2010 12:00:49 +0000 (13:00 +0100)
committerGrant Likely <grant.likely@secretlab.ca>
Fri, 24 Dec 2010 09:14:17 +0000 (02:14 -0700)
Side-effects happen when passing 0 to either io_limit or page_size. Give
an error in case of this misconfiguration.

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>

No differences found