aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/uwb
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@profusion.mobi>2011-03-30 21:57:33 -0400
committerLucas De Marchi <lucas.demarchi@profusion.mobi>2011-03-31 10:26:23 -0400
commit25985edcedea6396277003854657b5f3cb31a628 (patch)
treef026e810210a2ee7290caeb737c23cb6472b7c38 /drivers/uwb
parent6aba74f2791287ec407e0f92487a725a25908067 (diff)
Fix common misspellings
Fixes generated by 'codespell' and manually reviewed. Signed-off-by: Lucas De Marchi <lucas.demarchi@profusion.mobi>
Diffstat (limited to 'drivers/uwb')
-rw-r--r--drivers/uwb/driver.c2
-rw-r--r--drivers/uwb/drp.c6
-rw-r--r--drivers/uwb/lc-rc.c2
-rw-r--r--drivers/uwb/reset.c2
-rw-r--r--drivers/uwb/umc-dev.c2
5 files changed, 7 insertions, 7 deletions
diff --git a/drivers/uwb/driver.c b/drivers/uwb/driver.c
index 08bd6dbfd4a6..3e5454aba5d4 100644
--- a/drivers/uwb/driver.c
+++ b/drivers/uwb/driver.c
@@ -61,7 +61,7 @@
61 61
62 62
63/** 63/**
64 * If a beacon dissapears for longer than this, then we consider the 64 * If a beacon disappears for longer than this, then we consider the
65 * device who was represented by that beacon to be gone. 65 * device who was represented by that beacon to be gone.
66 * 66 *
67 * ECMA-368[17.2.3, last para] establishes that a device must not 67 * ECMA-368[17.2.3, last para] establishes that a device must not
diff --git a/drivers/uwb/drp.c b/drivers/uwb/drp.c
index a8d83e25e3b6..3fbcf789dfaa 100644
--- a/drivers/uwb/drp.c
+++ b/drivers/uwb/drp.c
@@ -27,7 +27,7 @@
27 27
28/* DRP Conflict Actions ([ECMA-368 2nd Edition] 17.4.6) */ 28/* DRP Conflict Actions ([ECMA-368 2nd Edition] 17.4.6) */
29enum uwb_drp_conflict_action { 29enum uwb_drp_conflict_action {
30 /* Reservation is mantained, no action needed */ 30 /* Reservation is maintained, no action needed */
31 UWB_DRP_CONFLICT_MANTAIN = 0, 31 UWB_DRP_CONFLICT_MANTAIN = 0,
32 32
33 /* the device shall not transmit frames in conflicting MASs in 33 /* the device shall not transmit frames in conflicting MASs in
@@ -741,12 +741,12 @@ void uwb_drp_process_all(struct uwb_rc *rc, struct uwb_rc_evt_drp *drp_evt,
741 * DRP notifications can occur for three different reasons: 741 * DRP notifications can occur for three different reasons:
742 * 742 *
743 * - UWB_DRP_NOTIF_DRP_IE_RECVD: one or more DRP IEs with the RC as 743 * - UWB_DRP_NOTIF_DRP_IE_RECVD: one or more DRP IEs with the RC as
744 * the target or source have been recieved. 744 * the target or source have been received.
745 * 745 *
746 * These DRP IEs could be new or for an existing reservation. 746 * These DRP IEs could be new or for an existing reservation.
747 * 747 *
748 * If the DRP IE for an existing reservation ceases to be to 748 * If the DRP IE for an existing reservation ceases to be to
749 * recieved for at least mMaxLostBeacons, the reservation should be 749 * received for at least mMaxLostBeacons, the reservation should be
750 * considered to be terminated. Note that the TERMINATE reason (see 750 * considered to be terminated. Note that the TERMINATE reason (see
751 * below) may not always be signalled (e.g., the remote device has 751 * below) may not always be signalled (e.g., the remote device has
752 * two or more reservations established with the RC). 752 * two or more reservations established with the RC).
diff --git a/drivers/uwb/lc-rc.c b/drivers/uwb/lc-rc.c
index b0091c771b9a..b4395f41a007 100644
--- a/drivers/uwb/lc-rc.c
+++ b/drivers/uwb/lc-rc.c
@@ -168,7 +168,7 @@ int uwb_rc_mac_addr_setup(struct uwb_rc *rc)
168 } 168 }
169 169
170 if (uwb_mac_addr_unset(&addr) || uwb_mac_addr_bcast(&addr)) { 170 if (uwb_mac_addr_unset(&addr) || uwb_mac_addr_bcast(&addr)) {
171 addr.data[0] = 0x02; /* locally adminstered and unicast */ 171 addr.data[0] = 0x02; /* locally administered and unicast */
172 get_random_bytes(&addr.data[1], sizeof(addr.data)-1); 172 get_random_bytes(&addr.data[1], sizeof(addr.data)-1);
173 173
174 result = uwb_rc_mac_addr_set(rc, &addr); 174 result = uwb_rc_mac_addr_set(rc, &addr);
diff --git a/drivers/uwb/reset.c b/drivers/uwb/reset.c
index 27849292b552..3de630b0f691 100644
--- a/drivers/uwb/reset.c
+++ b/drivers/uwb/reset.c
@@ -52,7 +52,7 @@ const char *__strerror[] = {
52 "cancelled", 52 "cancelled",
53 "invalid state", 53 "invalid state",
54 "invalid size", 54 "invalid size",
55 "ack not recieved", 55 "ack not received",
56 "no more asie notification", 56 "no more asie notification",
57}; 57};
58 58
diff --git a/drivers/uwb/umc-dev.c b/drivers/uwb/umc-dev.c
index ccd2184e05d2..b2948ec57878 100644
--- a/drivers/uwb/umc-dev.c
+++ b/drivers/uwb/umc-dev.c
@@ -78,7 +78,7 @@ EXPORT_SYMBOL_GPL(umc_device_register);
78 * First we unregister the device, make sure the driver can do it's 78 * First we unregister the device, make sure the driver can do it's
79 * resource release thing and then we try to release any left over 79 * resource release thing and then we try to release any left over
80 * resources. We take a ref to the device, to make sure it doesn't 80 * resources. We take a ref to the device, to make sure it doesn't
81 * dissapear under our feet. 81 * disappear under our feet.
82 */ 82 */
83void umc_device_unregister(struct umc_dev *umc) 83void umc_device_unregister(struct umc_dev *umc)
84{ 84{