summaryrefslogtreecommitdiffstats
path: root/drivers/hid/i2c-hid/i2c-hid.c
diff options
context:
space:
mode:
authorAlex Elder <elder@inktank.com>2013-03-02 01:00:16 +0100
committerSage Weil <sage@inktank.com>2013-05-02 06:16:35 +0200
commit9516e45b25d9967c35d2e798496ec5e590aaa24f (patch)
treed5020891abe591d1821129ce15db8d0e797c1a21 /drivers/hid/i2c-hid/i2c-hid.c
parentlibceph: advance pagelist with list_rotate_left() (diff)
downloadlinux-9516e45b25d9967c35d2e798496ec5e590aaa24f.tar.xz
linux-9516e45b25d9967c35d2e798496ec5e590aaa24f.zip
libceph: simplify new message initialization
Rather than explicitly initializing many fields to 0, NULL, or false in a newly-allocated message, just use kzalloc() for allocating new messages. This will become a much more convenient way of doing things anyway for upcoming patches that abstract the data field. Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'drivers/hid/i2c-hid/i2c-hid.c')
0 files changed, 0 insertions, 0 deletions