]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: headers: don't use 'dev' as adapter variable
authorWolfram Sang <wsa@the-dreams.de>
Mon, 3 Jun 2019 08:25:31 +0000 (10:25 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Fri, 14 Jun 2019 21:24:33 +0000 (23:24 +0200)
commit7fbc0c7b2983425ef318d59f82cf3e8150cdfdb8
treeb41545ac943f2d93a7c65b798dd06288b4ef539a
parent01c534df5c4276e75cab0d9252365eafd50f0a15
i2c: headers: don't use 'dev' as adapter variable

It is not a struct device, so 'dev' is confusing. Use 'adap', the most
common name.

Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
include/linux/i2c.h