diff options
author | Sudip Mukherjee <sudipm.mukherjee@gmail.com> | 2016-02-02 11:35:55 +0530 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2016-02-08 10:03:17 +0100 |
commit | db9b60400f9253c25ae639797df2d0ff7a35d9d8 (patch) | |
tree | 6ca8c770ee4be9da2daeda5f471332c35ef9cee0 /kernel/time | |
parent | 1c0230de6dd096e46c46294e93ba68cc16f70331 (diff) | |
download | talos-obmc-linux-db9b60400f9253c25ae639797df2d0ff7a35d9d8.tar.gz talos-obmc-linux-db9b60400f9253c25ae639797df2d0ff7a35d9d8.zip |
drm/gma500: remove helper function
We were getting build warning about:
drivers/gpu/drm/gma500/mdfld_dsi_output.c:407:2: warning: initialization
from incompatible pointer type
The callback to dpms was pointing to a helper function which had a
return type of void, whereas the callback should point to a function
which has a return type of int.
On closer look it turned out that we do not need the helper function
since if we call drm_helper_connector_dpms() directly, the first check
that drm_helper_connector_dpms() does is: if (mode == connector->dpms)
Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Link: http://patchwork.freedesktop.org/patch/msgid/1454393155-13142-1-git-send-email-sudipm.mukherjee@gmail.com
Acked-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Diffstat (limited to 'kernel/time')
0 files changed, 0 insertions, 0 deletions