On Mon, Jan 9, 2017 at 8:47 PM, Stephen Boyd <sboyd@xxxxxxxxxxxxxx> wrote: > container_of() does pointer math on the pointer that's passed in. > If it were to return a NULL pointer the value passed in would > need to be perfectly offset from 0 to make that so. Remove these > checks because they don't make sense. > > Signed-off-by: Stephen Boyd <sboyd@xxxxxxxxxxxxxx> Good point. Patch applied. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html