Staging: sm750fb: provide error path for hw_sm750le_setBLANK()
commite74ac550298ec4635cc32e99f966568a808fd370
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 10 Mar 2015 21:08:38 +0000 (10 22:08 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 10 Mar 2015 21:08:38 +0000 (10 22:08 +0100)
tree0776523986070690eb221815a50737a98315366a
parent7c6f3fdc488296ea00ded8024dcfd7de13d2ca67
Staging: sm750fb: provide error path for hw_sm750le_setBLANK()

This provides a default path for the switch statement in
hw_sm750le_setBLANK() so that the compiler will not correctly complain
about undefined values being sent to the hardware.

Instead, properly error out if the blank command is unknown by the
driver.

Cc: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Cc: Teddy Wang <teddy.wang@siliconmotion.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/sm750fb/sm750_hw.c