/* * mtk-afe-platform-driver.h -- Mediatek afe platform driver definition * * Copyright (c) 2016 MediaTek Inc. * Author: Garlic Tseng * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ #ifndef _MTK_AFE_PLATFORM_DRIVER_H_ #define _MTK_AFE_PLATFORM_DRIVER_H_ extern const struct snd_soc_platform_driver mtk_afe_pcm_platform; #endif ss='main'>index : net-next.git
net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/Documentation/hwmon/tmp401
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2016-04-02 07:44:32 +0300
committerJiri Kosina <jkosina@suse.cz>2016-04-04 09:49:12 +0200
commit85d08340c3de1126467db4e69140fe483d91c114 (patch)
tree8736e4301116f766974e7441a5d58d32c28f7785 /Documentation/hwmon/tmp401
parentd66435cc7da95964cb386674bd82ec12ca66320a (diff)
HID: roccat: silence an uninitialized variable warning
My static checker complains because we use "dev_id" before we check for errors so it could be uninitialized. Fix this by moving the error handling forward a couple lines. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'Documentation/hwmon/tmp401')