Am 2013-12-04 09:10, schrieb Lee Jones:
>> +int tps6586x_get_version(struct device *dev)
>> +{
>> + struct tps6586x *tps6586x = dev_get_drvdata(dev);
>> +
>> + return tps6586x->version;
>> +}
>> +EXPORT_SYMBOL_GPL(tps6586x_get_version);
>
> I thought Mark suggested that this routine was converted to a 'static
> inline' and moved into the header? Did you not think this was a good
> idea?
As I pointed out in the comment above, the struct tps6586x is in the C
file, so I would need to move that too. That's why I did not made that
change in the end. What do you think, should I still move (and move the
struct too?)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- [PATCH v4 0/3] regulator: tps6586x: add version detection a... Stefan Agner
- [PATCH v4 2/3] regulator: tps6586x: add and use correc... Stefan Agner
- Re: [PATCH v4 2/3] regulator: tps6586x: add and us... Thierry Reding
- Re: [PATCH v4 2/3] regulator: tps6586x: add and us... Mark Brown
- Re: [PATCH v4 2/3] regulator: tps6586x: add an... Stefan Agner
- Re: [PATCH v4 2/3] regulator: tps6586x: ad... Mark Brown
- Re: [PATCH v4 2/3] regulator: tps6586... Lee Jones
- Re: [PATCH v4 2/3] regulator: tps6586x: add and us... Stephen Warren
- [PATCH v4 1/3] mfd: tps6586x: add version detection Stefan Agner
- Re: [PATCH v4 1/3] mfd: tps6586x: add version dete... Lee Jones
- Re: [PATCH v4 1/3] mfd: tps6586x: add version ... Stefan Agner
- Re: [PATCH v4 1/3] mfd: tps6586x: add vers... Lee Jones
- Re: [PATCH v4 1/3] mfd: tps6586x: add... Stefan Agner
- Re: [PATCH v4 1/3] mfd: tps6586x:... Lee Jones
- Re: [PATCH v4 1/3] mfd: tps6586x: add... Mark Brown
- Re: [PATCH v4 1/3] mfd: tps6586x:... Lee Jones
- Re: [PATCH v4 1/3] mfd: tps6586x: add version dete... Stephen Warren
- Re: [PATCH v4 1/3] mfd: tps6586x: add version ... Stefan Agner
- Re: [PATCH v4 1/3] mfd: tps6586x: add vers... Stephen Warren
- Re: [PATCH v4 1/3] mfd: tps6586x: add... Stefan Agner
- Re: [PATCH v4 1/3] mfd: tps6586x:... Lee Jones

