Date: Tue, 1 Sep 2020 21:53:00 +0000 (UTC) From: Mateusz Guzik <mjg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r365153 - head/sys/dev/smbus Message-ID: <202009012153.081Lr0Mx046852@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mjg Date: Tue Sep 1 21:53:00 2020 New Revision: 365153 URL: https://svnweb.freebsd.org/changeset/base/365153 Log: smbus: clean up empty lines in .c and .h files Modified: head/sys/dev/smbus/smb.c head/sys/dev/smbus/smbconf.c head/sys/dev/smbus/smbus.c Modified: head/sys/dev/smbus/smb.c ============================================================================== --- head/sys/dev/smbus/smb.c Tue Sep 1 21:52:46 2020 (r365152) +++ head/sys/dev/smbus/smb.c Tue Sep 1 21:53:00 2020 (r365153) @@ -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) { Modified: head/sys/dev/smbus/smbconf.c ============================================================================== --- head/sys/dev/smbus/smbconf.c Tue Sep 1 21:52:46 2020 (r365152) +++ head/sys/dev/smbus/smbconf.c Tue Sep 1 21:53:00 2020 (r365153) @@ -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)) Modified: head/sys/dev/smbus/smbus.c ============================================================================== --- head/sys/dev/smbus/smbus.c Tue Sep 1 21:52:46 2020 (r365152) +++ head/sys/dev/smbus/smbus.c Tue Sep 1 21:53:00 2020 (r365153) @@ -134,7 +134,6 @@ smbus_hinted_child(device_t bus, const char *dname, in devi->addr = addr; } - static int smbus_child_location_str(device_t parent, device_t child, char *buf, size_t buflen)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009012153.081Lr0Mx046852>