summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-ds1742.c
diff options
context:
space:
mode:
authorJiri Kosina <jkosina@suse.cz>2007-11-30 11:12:58 +0100
committerJiri Kosina <jkosina@suse.cz>2008-01-28 14:51:22 +0100
commitc4124c9b68bf8ecf1e8afedad3a22e18666cb6f3 (patch)
treee94678db134f72037fa61ddf412bdeb98bf88de7 /drivers/rtc/rtc-ds1742.c
parent0887b4cb2102e281c123abf1408f218c15fd3ba3 (diff)
downloadop-kernel-dev-c4124c9b68bf8ecf1e8afedad3a22e18666cb6f3.zip
op-kernel-dev-c4124c9b68bf8ecf1e8afedad3a22e18666cb6f3.tar.gz
HID: remove redundant WARN_ON()s in order not to scare users
The WARN_ON() in implement() and extract() spit out stacktraces and a lot of other information that might make users think that there is something seriously wrong with the system. WARN_ON() should not be deliberately triggerable by userspace application, which these can be. Usually this WARN_ON() triggers when hid2hci utility is sending the data that don't correspond to the device's report descriptor. Convert these messages to more friendly printk(). Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/rtc/rtc-ds1742.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud