OpenCloudOS-Kernel/drivers/video/fbdev/omap2/omapfb/dss
Anders Roxell 4c83c2f75a fbdev: omap2: fix warnings in dss core
Commit 60d2fa0dad ("fbdev: omap2: no need to check return value of
debugfs_create functions") changed the declaration of the return value
of function dss_debugfs_create_file() and the following two warnings
appeared:

drivers/video/fbdev/omap2/omapfb/dss/core.c: In function ‘dss_debugfs_create_file’:
drivers/video/fbdev/omap2/omapfb/dss/core.c:139:9: warning: ‘return’ with a value,
 in function returning void
  return 0;
         ^
drivers/video/fbdev/omap2/omapfb/dss/core.c: In function ‘omap_dss_probe’:
drivers/video/fbdev/omap2/omapfb/dss/core.c:172:6: warning: unused variable ‘r’
 [-Wunused-variable]
  int r;
      ^

Rework so function dss_debugfs_create_file() that is declared to return
void don't 'return 0' and remove the declaration of the unused variable
'r'.

Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
2019-03-01 15:45:09 +01:00
..
Kconfig video: fbdev: remove redundant 'default n' from Kconfig-s 2018-10-24 11:26:32 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
apply.c omapfb: Create new header file for omapfb DSS implementation 2016-06-03 16:06:38 +03:00
core.c fbdev: omap2: fix warnings in dss core 2019-03-01 15:45:09 +01:00
dispc-compat.c omapfb/dss: wait_for_completion_interruptible_timeout expects long 2016-08-11 17:54:54 +03:00
dispc-compat.h
dispc.c fbdev: fix omap2/omapfb/dss/ indentation warning 2018-07-24 19:11:28 +02:00
dispc.h drm/omap, omapfb: move exported dispc function declarations to omapdrm/omapfb 2016-03-03 17:38:21 +02:00
dispc_coefs.c omapfb: Create new header file for omapfb DSS implementation 2016-06-03 16:06:38 +03:00
display-sysfs.c omapfb: Create new header file for omapfb DSS implementation 2016-06-03 16:06:38 +03:00
display.c omapfb: Create new header file for omapfb DSS implementation 2016-06-03 16:06:38 +03:00
dpi.c omapfb: Create new header file for omapfb DSS implementation 2016-06-03 16:06:38 +03:00
dsi.c video: fbdev: Convert timers to use timer_setup() 2017-11-10 16:34:52 +01:00
dss-of.c fbdev: Use of_node_name_eq for node name comparisons 2019-02-08 19:24:45 +01:00
dss.c video: omapfb: fix missing #includes 2018-02-09 14:43:49 +01:00
dss.h fbdev: omap2: no need to check return value of debugfs_create functions 2019-02-08 19:24:47 +01:00
dss_features.c fbdev: omap2: omapfb: fix bugon.cocci warnings 2018-07-31 13:06:58 +02:00
dss_features.h
hdmi.h omapfb: Create new header file for omapfb DSS implementation 2016-06-03 16:06:38 +03:00
hdmi4.c video: fbdev: omap2: Use PTR_ERR_OR_ZERO() 2018-01-04 16:53:49 +01:00
hdmi4_core.c omapfb: fix typo 2019-02-08 19:24:46 +01:00
hdmi4_core.h
hdmi5.c drm: omapdrm: hdmi: Pass HDMI core version as integer to HDMI audio 2017-08-16 12:52:41 +03:00
hdmi5_core.c OMAPDSS: HDMI5: Change DDC timings 2016-05-31 08:20:43 +03:00
hdmi5_core.h
hdmi_common.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
hdmi_phy.c video: omapfb: fix missing #includes 2018-02-09 14:43:49 +01:00
hdmi_pll.c video: omapfb: fix missing #includes 2018-02-09 14:43:49 +01:00
hdmi_wp.c video: omapfb: fix missing #includes 2018-02-09 14:43:49 +01:00
manager-sysfs.c omapfb: Use sysfs_match_string() helper 2017-06-14 17:40:57 +02:00
manager.c treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
omapdss-boot-init.c
output.c omapfb: Create new header file for omapfb DSS implementation 2016-06-03 16:06:38 +03:00
overlay-sysfs.c omapfb: Create new header file for omapfb DSS implementation 2016-06-03 16:06:38 +03:00
overlay.c treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
pll.c omapfb: Create new header file for omapfb DSS implementation 2016-06-03 16:06:38 +03:00
rfbi.c omapfb: Create new header file for omapfb DSS implementation 2016-06-03 16:06:38 +03:00
sdi.c omapfb: Create new header file for omapfb DSS implementation 2016-06-03 16:06:38 +03:00
venc.c omapfb: Create new header file for omapfb DSS implementation 2016-06-03 16:06:38 +03:00
video-pll.c omapfb: Create new header file for omapfb DSS implementation 2016-06-03 16:06:38 +03:00