From: Linus Walleij Date: Fri, 30 Jan 2015 09:56:05 +0000 (+0100) Subject: gpio: max732x: use an inline function for container cast X-Git-Tag: fixes-v4.0-rc1~140^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37fc8a92daf5e775a18790ccd935240ef72ddd83;p=pandora-kernel.git gpio: max732x: use an inline function for container cast Cast the struct gpio_chip into a max732x_chip using an inline macro and move the assignment to the variable declaration to save lines and simplify things. Cc: Semen Protsenko Acked-by: Mans Rullgard Signed-off-by: Linus Walleij --- Reading git-diff-tree failed