From owner-svn-src-head@freebsd.org Tue Sep 1 22:01:33 2020 Return-Path: Delivered-To: svn-src-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 801C037DC88; Tue, 1 Sep 2020 22:01:33 +0000 (UTC) (envelope-from mjg@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bh1Hd2S49z4b9H; Tue, 1 Sep 2020 22:01:33 +0000 (UTC) (envelope-from mjg@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 389EB2058E; Tue, 1 Sep 2020 22:01:33 +0000 (UTC) (envelope-from mjg@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 081M1XZG049606; Tue, 1 Sep 2020 22:01:33 GMT (envelope-from mjg@FreeBSD.org) Received: (from mjg@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 081M1W2q049600; Tue, 1 Sep 2020 22:01:32 GMT (envelope-from mjg@FreeBSD.org) Message-Id: <202009012201.081M1W2q049600@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mjg set sender to mjg@FreeBSD.org using -f From: Mateusz Guzik Date: Tue, 1 Sep 2020 22:01:32 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r365183 - head/sys/dev/ow X-SVN-Group: head X-SVN-Commit-Author: mjg X-SVN-Commit-Paths: head/sys/dev/ow X-SVN-Commit-Revision: 365183 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2020 22:01:33 -0000 Author: mjg Date: Tue Sep 1 22:01:32 2020 New Revision: 365183 URL: https://svnweb.freebsd.org/changeset/base/365183 Log: ow: clean up empty lines in .c and .h files Modified: head/sys/dev/ow/ow.h head/sys/dev/ow/ow_temp.c head/sys/dev/ow/own.h Modified: head/sys/dev/ow/ow.h ============================================================================== --- head/sys/dev/ow/ow.h Tue Sep 1 22:01:17 2020 (r365182) +++ head/sys/dev/ow/ow.h Tue Sep 1 22:01:32 2020 (r365183) @@ -35,7 +35,7 @@ enum ow_device_ivars { #define OW_ACCESSOR(var, ivar, type) \ __BUS_ACCESSOR(ow, var, OW, ivar, type); - + OW_ACCESSOR(family, FAMILY, uint8_t) OW_ACCESSOR(romid, ROMID, uint8_t *) Modified: head/sys/dev/ow/ow_temp.c ============================================================================== --- head/sys/dev/ow/ow_temp.c Tue Sep 1 22:01:17 2020 (r365182) +++ head/sys/dev/ow/ow_temp.c Tue Sep 1 22:01:32 2020 (r365183) @@ -55,7 +55,6 @@ __FBSDID("$FreeBSD$"); #define RECALL_EE 0xb8 #define READ_SCRATCHPAD 0xbe - #define OW_TEMP_DONE 0x01 #define OW_TEMP_RUNNING 0x02 @@ -95,7 +94,7 @@ static int ow_temp_read_scratchpad(device_t dev, uint8_t *scratch, int len) { struct ow_cmd cmd; - + own_self_command(dev, &cmd, READ_SCRATCHPAD); cmd.xpt_read_len = len; own_command_wait(dev, &cmd); @@ -115,7 +114,6 @@ ow_temp_convert_t(device_t dev) return 0; } - static int ow_temp_read_power_supply(device_t dev, int *parasite) { @@ -262,7 +260,7 @@ ow_temp_detach(device_t dev) msleep(sc->event_thread, &sc->temp_lock, PWAIT, "owtun", 0); } mtx_destroy(&sc->temp_lock); - + return 0; } @@ -273,7 +271,6 @@ static device_method_t ow_temp_methods[] = { DEVMETHOD(device_probe, ow_temp_probe), DEVMETHOD(device_attach, ow_temp_attach), DEVMETHOD(device_detach, ow_temp_detach), - { 0, 0 } }; Modified: head/sys/dev/ow/own.h ============================================================================== --- head/sys/dev/ow/own.h Tue Sep 1 22:01:17 2020 (r365182) +++ head/sys/dev/ow/own.h Tue Sep 1 22:01:32 2020 (r365183) @@ -30,7 +30,6 @@ #include "own_if.h" - #define READ_ROM 0x33 #define MATCH_ROM 0x55 #define SKIP_ROM 0xcc