aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-02-10 11:03:56 +0100
committerWolfram Sang <wsa@the-dreams.de>2014-03-05 17:16:45 +0100
commit0c176170089c3a7f2a891f9860f5cdc5f481ff78 (patch)
treeb86e44370013676481e49c57c7e46d65190d9203 /lib
parent624df09f3a20b7073289d7f7d8672734ca1339a9 (diff)
i2c: add deprecation warning for class based instantiation
Class based instantiation can cause noticeable delays when booting. This mechanism is used when it is not possible to describe slaves on I2C busses. As we do have other mechanisms, most embedded I2C will not need classes and for embedded it is explicitly not recommended to use them. Add a deprecation warning for drivers which want to disable class based instantiation in the near future to gain boot-up time, so users relying on this technique can switch to something better. They really should. Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions