mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-25 21:24:08 +08:00
staging: sm750fb: Remove space after cast
Remove space after cast to fix checkpatch issue. CHECK: No space is necessary after a cast Signed-off-by: Mamta Shukla <mamtashukla555@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
d521323615
commit
8bf42b28d5
@ -39,8 +39,8 @@ unsigned short sii164GetVendorID(void)
|
||||
{
|
||||
unsigned short vendorID;
|
||||
|
||||
vendorID = ((unsigned short) i2cReadReg(SII164_I2C_ADDRESS, SII164_VENDOR_ID_HIGH) << 8) |
|
||||
(unsigned short) i2cReadReg(SII164_I2C_ADDRESS, SII164_VENDOR_ID_LOW);
|
||||
vendorID = ((unsigned short)i2cReadReg(SII164_I2C_ADDRESS, SII164_VENDOR_ID_HIGH) << 8) |
|
||||
(unsigned short)i2cReadReg(SII164_I2C_ADDRESS, SII164_VENDOR_ID_LOW);
|
||||
|
||||
return vendorID;
|
||||
}
|
||||
@ -56,8 +56,8 @@ unsigned short sii164GetDeviceID(void)
|
||||
{
|
||||
unsigned short deviceID;
|
||||
|
||||
deviceID = ((unsigned short) i2cReadReg(SII164_I2C_ADDRESS, SII164_DEVICE_ID_HIGH) << 8) |
|
||||
(unsigned short) i2cReadReg(SII164_I2C_ADDRESS, SII164_DEVICE_ID_LOW);
|
||||
deviceID = ((unsigned short)i2cReadReg(SII164_I2C_ADDRESS, SII164_DEVICE_ID_HIGH) << 8) |
|
||||
(unsigned short)i2cReadReg(SII164_I2C_ADDRESS, SII164_DEVICE_ID_LOW);
|
||||
|
||||
return deviceID;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user