summaryrefslogtreecommitdiffstats
path: root/Documentation/pcmcia/driver-changes.txt
diff options
context:
space:
mode:
authorDominik Brodowski <linux@dominikbrodowski.net>2009-10-24 15:57:22 +0200
committerDominik Brodowski <linux@dominikbrodowski.net>2009-11-09 08:30:06 +0100
commit9cb495bb41f07a3ebfc60d3b9d26017a1fd7050c (patch)
treef2dda0b4dfdf0c27eaa28d4383b38dab8aab57f0 /Documentation/pcmcia/driver-changes.txt
parentpcmcia: use dynamic debug infrastructure, deprecate CS_CHECK (misc drivers) (diff)
downloadlinux-9cb495bb41f07a3ebfc60d3b9d26017a1fd7050c.tar.xz
linux-9cb495bb41f07a3ebfc60d3b9d26017a1fd7050c.zip
pcmcia: remove now-defunct cs_error, pcmcia_error_{func,ret}
As all in-tree drivers have been converted to not use cs_error() any more, drop these functions and definitions, and update the Documentation. Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'Documentation/pcmcia/driver-changes.txt')
-rw-r--r--Documentation/pcmcia/driver-changes.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/pcmcia/driver-changes.txt b/Documentation/pcmcia/driver-changes.txt
index adfb83e58675..446f43b309df 100644
--- a/Documentation/pcmcia/driver-changes.txt
+++ b/Documentation/pcmcia/driver-changes.txt
@@ -1,5 +1,10 @@
This file details changes in 2.6 which affect PCMCIA card driver authors:
+* no cs_error / CS_CHECK / CONFIG_PCMCIA_DEBUG (as of 2.6.33)
+ Instead of the cs_error() callback or the CS_CHECK() macro, please use
+ Linux-style checking of return values, and -- if necessary -- debug
+ messages using "dev_dbg()" or "pr_debug()".
+
* New CIS tuple access (as of 2.6.33)
Instead of pcmcia_get_{first,next}_tuple(), pcmcia_get_tuple_data() and
pcmcia_parse_tuple(), a driver shall use "pcmcia_get_tuple()" if it is