Module Name: src Committed By: skrll Date: Thu Jan 2 18:40:09 UTC 2025
Modified Files: src/sys/dev/i2c: lm75.c Log Message: Trailing whitespace. To generate a diff of this commit: cvs rdiff -u -r1.45 -r1.46 src/sys/dev/i2c/lm75.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/i2c/lm75.c diff -u src/sys/dev/i2c/lm75.c:1.45 src/sys/dev/i2c/lm75.c:1.46 --- src/sys/dev/i2c/lm75.c:1.45 Mon Jun 21 03:12:54 2021 +++ src/sys/dev/i2c/lm75.c Thu Jan 2 18:40:08 2025 @@ -1,4 +1,4 @@ -/* $NetBSD: lm75.c,v 1.45 2021/06/21 03:12:54 christos Exp $ */ +/* $NetBSD: lm75.c,v 1.46 2025/01/02 18:40:08 skrll Exp $ */ /* * Copyright (c) 2003 Wasabi Systems, Inc. @@ -36,7 +36,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: lm75.c,v 1.45 2021/06/21 03:12:54 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: lm75.c,v 1.46 2025/01/02 18:40:08 skrll Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -215,7 +215,7 @@ lmtemp_attach(device_t parent, device_t sc->sc_tag = ia->ia_tag; sc->sc_address = ia->ia_addr; sc->sc_prop = ia->ia_prop; - + if (ia->ia_prop != NULL) prop_object_retain(sc->sc_prop); aprint_naive(": Temperature Sensor\n"); @@ -433,7 +433,7 @@ lmtemp_getlim_lm77(struct sysmon_envsys } static void -lmtemp_setlim_lm75(struct sysmon_envsys *sme, envsys_data_t *edata, +lmtemp_setlim_lm75(struct sysmon_envsys *sme, envsys_data_t *edata, sysmon_envsys_lim_t *limits, uint32_t *props) { struct lmtemp_softc *sc = sme->sme_cookie; @@ -457,7 +457,7 @@ lmtemp_setlim_lm75(struct sysmon_envsys } static void -lmtemp_setlim_lm77(struct sysmon_envsys *sme, envsys_data_t *edata, +lmtemp_setlim_lm77(struct sysmon_envsys *sme, envsys_data_t *edata, sysmon_envsys_lim_t *limits, uint32_t *props) { struct lmtemp_softc *sc = sme->sme_cookie; @@ -620,7 +620,7 @@ sysctl_lm75_temp(SYSCTLFN_ARGS) if (newp) { - /* we're asked to write */ + /* we're asked to write */ node.sysctl_data = &sc->sc_tmax; if (sysctl_lookup(SYSCTLFN_CALL(&node)) == 0) {