Changed function declarations in drivers/staging/unisys/common-spar/include/vbusdeviceinfo.h so that the function names follow Linux coding standards. Signed-off-by: Ken Cox <jkc@xxxxxxxxxx> --- .../unisys/common-spar/include/vbusdeviceinfo.h | 28 +++++++++++----------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/drivers/staging/unisys/common-spar/include/vbusdeviceinfo.h b/drivers/staging/unisys/common-spar/include/vbusdeviceinfo.h index abf01f6..7164868 100644 --- a/drivers/staging/unisys/common-spar/include/vbusdeviceinfo.h +++ b/drivers/staging/unisys/common-spar/include/vbusdeviceinfo.h @@ -50,7 +50,7 @@ typedef struct _ULTRA_VBUS_DEVICEINFO { * to a buffer at <p>, had it been infinitely big. */ static inline int -VBUSCHANNEL_sanitize_buffer(char *p, int remain, char __iomem *src, int srcmax) +vbuschannel_sanitize_buffer(char *p, int remain, char __iomem *src, int srcmax) { int chars = 0; int nonprintable_streak = 0; @@ -99,7 +99,7 @@ VBUSCHANNEL_sanitize_buffer(char *p, int remain, char __iomem *src, int srcmax) * an environment-independent way (since we are in a common header file). */ static inline int -VBUSCHANNEL_itoa(char *p, int remain, int num) +vbuschannel_itoa(char *p, int remain, int num) { int digits = 0; char s[32]; @@ -146,22 +146,22 @@ VBUSCHANNEL_itoa(char *p, int remain, int num) * Returns the number of bytes written to <p>. */ static inline int -vbuschannel_devinfo_to_string(ULTRA_VBUS_DEVICEINFO __iomem *devInfo, +vbuschannel_devinfo_to_string(ULTRA_VBUS_DEVICEINFO __iomem *devinfo, char *p, int remain, int devix) { char __iomem *psrc; int nsrc, x, i, pad; int chars = 0; - psrc = &(devInfo->devType[0]); - nsrc = sizeof(devInfo->devType); - if (VBUSCHANNEL_sanitize_buffer(NULL, 0, psrc, nsrc) <= 0) + psrc = &(devinfo->devType[0]); + nsrc = sizeof(devinfo->devType); + if (vbuschannel_sanitize_buffer(NULL, 0, psrc, nsrc) <= 0) return 0; /* emit device index */ if (devix >= 0) { VBUSCHANNEL_ADDACHAR('[', p, remain, chars); - x = VBUSCHANNEL_itoa(p, remain, devix); + x = vbuschannel_itoa(p, remain, devix); p += x; remain -= x; chars += x; @@ -173,7 +173,7 @@ vbuschannel_devinfo_to_string(ULTRA_VBUS_DEVICEINFO __iomem *devInfo, } /* emit device type */ - x = VBUSCHANNEL_sanitize_buffer(p, remain, psrc, nsrc); + x = vbuschannel_sanitize_buffer(p, remain, psrc, nsrc); p += x; remain -= x; chars += x; @@ -183,9 +183,9 @@ vbuschannel_devinfo_to_string(ULTRA_VBUS_DEVICEINFO __iomem *devInfo, VBUSCHANNEL_ADDACHAR(' ', p, remain, chars); /* emit driver name */ - psrc = &(devInfo->drvName[0]); - nsrc = sizeof(devInfo->drvName); - x = VBUSCHANNEL_sanitize_buffer(p, remain, psrc, nsrc); + psrc = &(devinfo->drvName[0]); + nsrc = sizeof(devinfo->drvName); + x = vbuschannel_sanitize_buffer(p, remain, psrc, nsrc); p += x; remain -= x; chars += x; @@ -195,9 +195,9 @@ vbuschannel_devinfo_to_string(ULTRA_VBUS_DEVICEINFO __iomem *devInfo, VBUSCHANNEL_ADDACHAR(' ', p, remain, chars); /* emit strings */ - psrc = &(devInfo->infoStrings[0]); - nsrc = sizeof(devInfo->infoStrings); - x = VBUSCHANNEL_sanitize_buffer(p, remain, psrc, nsrc); + psrc = &(devinfo->infoStrings[0]); + nsrc = sizeof(devinfo->infoStrings); + x = vbuschannel_sanitize_buffer(p, remain, psrc, nsrc); p += x; remain -= x; chars += x; -- 1.8.5.3 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel