summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/msm/dsi/dsi_cfg.h
diff options
context:
space:
mode:
authorWambui Karuga <wambui.karugax@gmail.com>2019-12-30 22:41:02 +0300
committerRob Clark <robdclark@chromium.org>2020-01-02 16:17:20 -0800
commite37b624d25139f8b9d4bdafb3ac5131f56d0e7bb (patch)
treecd46fbdaf3c334f9336fc94eb267c4ae2bba3f91 /drivers/gpu/drm/msm/dsi/dsi_cfg.h
parent89048dd010f00de0fd5129fb5bba2a20ca9ab70b (diff)
drm/msm: use BUG_ON macro for debugging.
As the if statement only checks for the value of the offset_name variable, it can be replaced by the more conscise BUG_ON macro for error reporting. Signed-off-by: Wambui Karuga <wambui.karugax@gmail.com> Reviewed-by: Sean Paul <sean@poorly.run> Signed-off-by: Rob Clark <robdclark@chromium.org>
Diffstat (limited to 'drivers/gpu/drm/msm/dsi/dsi_cfg.h')
0 files changed, 0 insertions, 0 deletions