On Sat, Sep 07, 2013 at 11:34:36AM +0900, Alexandre Courbot wrote:
I like the idea of having log helpers, but we are trying to deprecate the representation of GPIO as integers. Well, for now this is indeed the only way to use them, so what I am saying might only apply when the gpiod RFC patches are refined and merged, but how about thinking of another way to represent them, e.g. by GPIO chip name/GPIO index wrt. their chip? The representation needs to be compact, which is another challenge.
dev_name() plus label perhaps? Some of the labels do tend to get a bit long but if they're used this way it'd probably encourage brevity.