diff options
Diffstat (limited to 'Documentation/sparc/sbus_drivers.txt')
-rw-r--r-- | Documentation/sparc/sbus_drivers.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/sparc/sbus_drivers.txt b/Documentation/sparc/sbus_drivers.txt index 4b9351624f13..8418d35484fc 100644 --- a/Documentation/sparc/sbus_drivers.txt +++ b/Documentation/sparc/sbus_drivers.txt | |||
@@ -25,8 +25,8 @@ the bits necessary to run your device. The most commonly | |||
25 | used members of this structure, and their typical usage, | 25 | used members of this structure, and their typical usage, |
26 | will be detailed below. | 26 | will be detailed below. |
27 | 27 | ||
28 | Here is a piece of skeleton code for perofming a device | 28 | Here is a piece of skeleton code for performing a device |
29 | probe in an SBUS driverunder Linux: | 29 | probe in an SBUS driver under Linux: |
30 | 30 | ||
31 | static int __devinit mydevice_probe_one(struct sbus_dev *sdev) | 31 | static int __devinit mydevice_probe_one(struct sbus_dev *sdev) |
32 | { | 32 | { |
@@ -98,7 +98,7 @@ in your .remove method. | |||
98 | 98 | ||
99 | Any memory allocated, registers mapped, IRQs registered, | 99 | Any memory allocated, registers mapped, IRQs registered, |
100 | etc. must be undone by your .remove method so that all resources | 100 | etc. must be undone by your .remove method so that all resources |
101 | of your device are relased by the time it returns. | 101 | of your device are released by the time it returns. |
102 | 102 | ||
103 | You should _NOT_ use the for_each_sbus(), for_each_sbusdev(), | 103 | You should _NOT_ use the for_each_sbus(), for_each_sbusdev(), |
104 | and for_all_sbusdev() interfaces. They are deprecated, will be | 104 | and for_all_sbusdev() interfaces. They are deprecated, will be |