smbus: clean up empty lines in .c and .h files

This commit is contained in:
Mateusz Guzik 2020-09-01 21:53:00 +00:00
parent a7b66a9ff7
commit 75d41981c0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=365153
3 changed files with 2 additions and 4 deletions

View File

@ -68,7 +68,6 @@ static device_method_t smb_methods[] = {
/* smbus interface */
DEVMETHOD(smbus_intr, smbus_generic_intr),
{ 0, 0 }
};
@ -104,7 +103,7 @@ smb_probe(device_t dev)
device_set_desc(dev, "SMBus generic I/O");
return (BUS_PROBE_NOWILDCARD);
}
static int
smb_attach(device_t dev)
{

View File

@ -68,7 +68,7 @@ smbus_error(int smb_error)
if (smb_error == SMB_ENOERR)
return (0);
if (smb_error & (SMB_ENOTSUPP))
error = ENODEV;
else if (smb_error & (SMB_ENOACK))

View File

@ -134,7 +134,6 @@ smbus_hinted_child(device_t bus, const char *dname, int dunit)
devi->addr = addr;
}
static int
smbus_child_location_str(device_t parent, device_t child, char *buf,
size_t buflen)