drm/i915: use pointer = k[cmz...]alloc(sizeof(*pointer), ...) pattern
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 19 Sep 2013 10:18:32 +0000 (12:18 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 1 Oct 2013 05:45:01 +0000 (07:45 +0200)
Done while reviewing all our allocations for fubar. Also a few errant
cases of lacking () for the sizeof operator - just a bit of OCD.

I've left out all the conversions that also should use kcalloc from
this patch  (it's only 2).

Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>

No differences found