Commit f0588efb authored by Varsha Rao's avatar Varsha Rao Committed by Greg Kroah-Hartman

staging: sm750fb: Add braces around if statement.

Added braces around if statement. This patch fixes the following
checkpatch issue:

CHECK: braces {} should be used on all arms of this statement
Signed-off-by: default avatarVarsha Rao <rvarsha016@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent dad5980e
...@@ -16,9 +16,9 @@ logical_chip_type_t sm750_get_chip_type(void) ...@@ -16,9 +16,9 @@ logical_chip_type_t sm750_get_chip_type(void)
void sm750_set_chip_type(unsigned short devId, u8 revId) void sm750_set_chip_type(unsigned short devId, u8 revId)
{ {
if (devId == 0x718) if (devId == 0x718) {
chip = SM718; chip = SM718;
else if (devId == 0x750) { } else if (devId == 0x750) {
chip = SM750; chip = SM750;
/* SM750 and SM750LE are different in their revision ID only. */ /* SM750 and SM750LE are different in their revision ID only. */
if (revId == SM750LE_REVISION_ID) { if (revId == SM750LE_REVISION_ID) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment