aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeordan Neukum <gneukum1@gmail.com>2019-05-26 01:18:30 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-05-30 14:04:26 -0700
commit73d56b83910ac7c7afcaa7d7cb3c92c9b53fee1c (patch)
treef5280c22973e4a7ed71c09b8413dfca1b14668ef
parentstaging: kpc2000: kpc_i2c: Use BIT macro rather than manual bit shifting (diff)
staging: kpc2000: kpc_i2c: Remove unnecessary consecutive newlines
The kpc2000_i2c.c file contains instances of unnecessary consecutive newlines which impact the readability of the file. Remove these unnecessary newlines. Signed-off-by: Geordan Neukum <gneukum1@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/kpc2000/kpc2000_i2c.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/staging/kpc2000/kpc2000_i2c.c b/drivers/staging/kpc2000/kpc2000_i2c.c
index 1d100bb7c548..1767f351a116 100644
--- a/drivers/staging/kpc2000/kpc2000_i2c.c
+++ b/drivers/staging/kpc2000/kpc2000_i2c.c
@@ -115,7 +115,6 @@ struct i2c_device {
#define PCI_DEVICE_ID_INTEL_LYNXPOINT_SMBUS 0x8c22
#define PCI_DEVICE_ID_INTEL_LYNXPOINT_LP_SMBUS 0x9c22
-
#define FEATURE_SMBUS_PEC BIT(0)
#define FEATURE_BLOCK_BUFFER BIT(1)
#define FEATURE_BLOCK_PROC BIT(2)
@@ -521,8 +520,6 @@ static s32 i801_access(struct i2c_adapter *adap, u16 addr, unsigned short flags,
return 0;
}
-
-
static u32 i801_func(struct i2c_adapter *adapter)
{
struct i2c_device *priv = i2c_get_adapdata(adapter);
@@ -571,8 +568,6 @@ static const struct i2c_algorithm smbus_algorithm = {
.functionality = i801_func,
};
-
-
/********************************
*** Part 2 - Driver Handlers ***
********************************/