[PATCH 03/15] dm: gpio: Rename get_dir_flags() method to get_flags()

2021-01-15 Thread Simon Glass
It is more useful to be able to read all the flags, not just the direction ones. In fact this is what the STM32 driver does. Update the method name to reflect this. Tweak the docs a little and use 'flagsp' as the return argument, as is common in driver model, to indicate it returns a value. Signe

Re: [PATCH 03/15] dm: gpio: Rename get_dir_flags() method to get_flags()

2021-01-18 Thread Pratyush Yadav
On 15/01/21 07:04AM, Simon Glass wrote: > It is more useful to be able to read all the flags, not just the direction > ones. In fact this is what the STM32 driver does. Update the method name > to reflect this. > > Tweak the docs a little and use 'flagsp' as the return argument, as is > common in

Re: [PATCH 03/15] dm: gpio: Rename get_dir_flags() method to get_flags()

2021-01-21 Thread Patrick DELAUNAY
Hi Simon, On 1/15/21 3:04 PM, Simon Glass wrote: It is more useful to be able to read all the flags, not just the direction ones. In fact this is what the STM32 driver does. Update the method name to reflect this. Tweak the docs a little and use 'flagsp' as the return argument, as is common in