gpio/tca6424: merge I2C transactions, remove cast
authorAndreas Schallenberg <Andreas.Schallenberg@3alitytechnica.com>
Mon, 21 May 2012 07:52:43 +0000 (09:52 +0200)
committerGrant Likely <grant.likely@secretlab.ca>
Sat, 26 May 2012 00:50:41 +0000 (18:50 -0600)
commit96b70641b937e99c1579cb6ebbcdb7b0af98cdd0
treec2a31be5f5160f345b5f3f1c450d01b158dc8b96
parent0df2c999f748c9528f6629f45baaa86118d60cd1
gpio/tca6424: merge I2C transactions, remove cast

This is a follow-up to ae79c1904 "[PATCH v2] Add support for TCA6424"
merged in the v3.5 merge window.  It fixes comments made when the
patch was merged.
- Use 3 byte transfers instead of two separate transfers (2+1 byte)
- An unnecessary cast removed

Signed-off-by: Andreas Schallenberg <Andreas.Schallenberg@3alitytechnica.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/gpio/gpio-pca953x.c