Skip to content

Commit fb101c0

Browse files
Vincent CuissardSamuel Ortiz
authored andcommitted
NFC: nfcmrvl: remove unneeded version defines
Signed-off-by: Vincent Cuissard <[email protected]> Signed-off-by: Samuel Ortiz <[email protected]>
1 parent 15d1717 commit fb101c0

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

drivers/nfc/nfcmrvl/main.c

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* Marvell NFC driver: major functions
33
*
4-
* Copyright (C) 2014, Marvell International Ltd.
4+
* Copyright (C) 2014-2015 Marvell International Ltd.
55
*
66
* This software file (the "File") is distributed by Marvell International
77
* Ltd. under the terms of the GNU General Public License Version 2, June 1991
@@ -25,8 +25,6 @@
2525
#include <net/nfc/nci_core.h>
2626
#include "nfcmrvl.h"
2727

28-
#define VERSION "1.0"
29-
3028
static int nfcmrvl_nci_open(struct nci_dev *ndev)
3129
{
3230
struct nfcmrvl_private *priv = nci_get_drvdata(ndev);
@@ -252,6 +250,5 @@ int nfcmrvl_parse_dt(struct device_node *node,
252250
EXPORT_SYMBOL_GPL(nfcmrvl_parse_dt);
253251

254252
MODULE_AUTHOR("Marvell International Ltd.");
255-
MODULE_DESCRIPTION("Marvell NFC driver ver " VERSION);
256-
MODULE_VERSION(VERSION);
253+
MODULE_DESCRIPTION("Marvell NFC driver");
257254
MODULE_LICENSE("GPL v2");

drivers/nfc/nfcmrvl/usb.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@
2323
#include <net/nfc/nci_core.h>
2424
#include "nfcmrvl.h"
2525

26-
#define VERSION "1.0"
27-
2826
static struct usb_device_id nfcmrvl_table[] = {
2927
{ USB_DEVICE_AND_INTERFACE_INFO(0x1286, 0x2046,
3028
USB_CLASS_VENDOR_SPEC, 4, 1) },
@@ -469,6 +467,5 @@ static struct usb_driver nfcmrvl_usb_driver = {
469467
module_usb_driver(nfcmrvl_usb_driver);
470468

471469
MODULE_AUTHOR("Marvell International Ltd.");
472-
MODULE_DESCRIPTION("Marvell NFC-over-USB driver ver " VERSION);
473-
MODULE_VERSION(VERSION);
470+
MODULE_DESCRIPTION("Marvell NFC-over-USB driver");
474471
MODULE_LICENSE("GPL v2");

0 commit comments

Comments
 (0)