drm: Fix kcalloc parameters swapped
authorAxel Lin <axel.lin@gmail.com>
Fri, 10 Feb 2012 12:04:52 +0000 (20:04 +0800)
committerDave Airlie <airlied@redhat.com>
Mon, 13 Feb 2012 12:07:36 +0000 (12:07 +0000)
commit51a59ac8739b333eaa43a3102b6acaab5037bfa2
treed0c255c23196b38ff31f1b3d68996f729d95e1d1
parentade510153ecb7d50aaf9338fb2def2d5a80f1e1e
drm: Fix kcalloc parameters swapped

The first parameter should be "number of elements" and the second parameter
should be "element size".

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/gma500/intel_gmbus.c
drivers/gpu/drm/i915/intel_i2c.c