| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * ati_remote2 - ATI/Philips USB RF remote driver |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (C) 2005-2008 Ville Syrjala <syrjala@sci.fi> |
|---|
| 5 | 6 | * Copyright (C) 2007-2008 Peter Stokes <linux@dadeos.co.uk> |
|---|
| 6 | | - * |
|---|
| 7 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 8 | | - * it under the terms of the GNU General Public License version 2 |
|---|
| 9 | | - * as published by the Free Software Foundation. |
|---|
| 10 | 7 | */ |
|---|
| 11 | 8 | |
|---|
| 12 | 9 | #include <linux/usb/input.h> |
|---|
| .. | .. |
|---|
| 71 | 68 | { |
|---|
| 72 | 69 | pr_debug("%s()\n", __func__); |
|---|
| 73 | 70 | |
|---|
| 74 | | - return sprintf(buffer, "0x%04x", *(unsigned int *)kp->arg); |
|---|
| 71 | + return sprintf(buffer, "0x%04x\n", *(unsigned int *)kp->arg); |
|---|
| 75 | 72 | } |
|---|
| 76 | 73 | |
|---|
| 77 | 74 | static int ati_remote2_set_mode_mask(const char *val, |
|---|
| .. | .. |
|---|
| 87 | 84 | { |
|---|
| 88 | 85 | pr_debug("%s()\n", __func__); |
|---|
| 89 | 86 | |
|---|
| 90 | | - return sprintf(buffer, "0x%02x", *(unsigned int *)kp->arg); |
|---|
| 87 | + return sprintf(buffer, "0x%02x\n", *(unsigned int *)kp->arg); |
|---|
| 91 | 88 | } |
|---|
| 92 | 89 | |
|---|
| 93 | 90 | static unsigned int channel_mask = ATI_REMOTE2_MAX_CHANNEL_MASK; |
|---|