]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
pinctrl: remove an unnecessary cast
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 17 Sep 2013 10:47:54 +0000 (13:47 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 23 Sep 2013 08:47:14 +0000 (10:47 +0200)
commit81d36c4fff7401b099d98818a517ee6bc02e93f2
tree0a651cb3b5318186bfa4ac1388d2a32a1db88504
parent3b59e432ec9c093311e0ad057e330e04feb79007
pinctrl: remove an unnecessary cast

sizeof() is already size_t so there is no need to cast here.  Generally,
casting inside the min() macro instead of using min_t() is considered
bad style.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinconf.c