From 37fc8a92daf5e775a18790ccd935240ef72ddd83 Mon Sep 17 00:00:00 2001 From: Linus Walleij Date: Fri, 30 Jan 2015 10:56:05 +0100 Subject: [PATCH] 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-format-patch failed