ALSA: x86: fix resource_size.cocci warnings
authorkbuild test robot <lkp@intel.com>
Tue, 24 Jan 2017 15:41:46 +0000 (23:41 +0800)
committerTakashi Iwai <tiwai@suse.de>
Wed, 25 Jan 2017 13:25:37 +0000 (14:25 +0100)
commitf0fd4122f0526b7575d10f6699b57f03e9bfd1ec
treeeef736aefe88df900e0984326898078d4f5a2f05
parent232892fb14265b07b7a50061f36aaa5a6b81fb9d
ALSA: x86: fix resource_size.cocci warnings

sound/x86/intel_hdmi_lpe_audio.c:498:24-27: ERROR: Missing resource_size with res_mmio

 Use resource_size function on resource object
 instead of explicit computation.

Generated by: scripts/coccinelle/api/resource_size.cocci

CC: Jerome Anand <jerome.anand@intel.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/x86/intel_hdmi_lpe_audio.c