From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chee, Tien Fong Date: Fri, 12 May 2017 03:46:09 +0000 Subject: [U-Boot] [PATCH v2 1/5] arm: socfpga: Remove unused passing parameter of socfpga_bridges_reset In-Reply-To: <9b2faba2-0180-4867-7be0-c16d8f04931d@denx.de> References: <1494494734-7888-1-git-send-email-tien.fong.chee@intel.com> <1494494734-7888-2-git-send-email-tien.fong.chee@intel.com> <9b2faba2-0180-4867-7be0-c16d8f04931d@denx.de> Message-ID: <1494560768.6027.13.camel@intel.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: u-boot@lists.denx.de On Kha, 2017-05-11 at 13:57 +0200, Marek Vasut wrote: > On 05/11/2017 11:25 AM, tien.fong.chee at intel.com wrote: > > > > From: Tien Fong Chee > > > > Remove unused passing parameter of socfpga_bridges_reset function > > in > > SoCFPGA Arria10. > The commit message is supposed to explain the purpose of the patch, > but > there's just no explanation here except for what I can already see in > the patch itself. > Okay, i will improve it. > > > > Signed-off-by: Tien Fong Chee > > --- > >  arch/arm/mach-socfpga/include/mach/reset_manager_arria10.h | 2 +- > >  arch/arm/mach-socfpga/reset_manager_arria10.c              | 4 ++- > > - > >  2 files changed, 3 insertions(+), 3 deletions(-) > > > > diff --git a/arch/arm/mach- > > socfpga/include/mach/reset_manager_arria10.h b/arch/arm/mach- > > socfpga/include/mach/reset_manager_arria10.h > > index 7922db8..b6d7f4f 100644 > > --- a/arch/arm/mach-socfpga/include/mach/reset_manager_arria10.h > > +++ b/arch/arm/mach-socfpga/include/mach/reset_manager_arria10.h > > @@ -17,7 +17,7 @@ int socfpga_reset_deassert_bridges_handoff(void); > >  void socfpga_reset_assert_fpga_connected_peripherals(void); > >  void socfpga_reset_deassert_osc1wd0(void); > >  void socfpga_reset_uart(int assert); > > -int socfpga_bridges_reset(int enable); > > +int socfpga_bridges_reset(void); > >   > >  struct socfpga_reset_manager { > >   u32 stat; > > diff --git a/arch/arm/mach-socfpga/reset_manager_arria10.c > > b/arch/arm/mach-socfpga/reset_manager_arria10.c > > index d8c858c..66f1ec2 100644 > > --- a/arch/arm/mach-socfpga/reset_manager_arria10.c > > +++ b/arch/arm/mach-socfpga/reset_manager_arria10.c > > @@ -318,13 +318,13 @@ void socfpga_per_reset_all(void) > >  } > >   > >  #if defined(CONFIG_SOCFPGA_VIRTUAL_TARGET) > > -int socfpga_bridges_reset(int enable) > > +int socfpga_bridges_reset(void) > >  { > >   /* For SoCFPGA-VT, this is NOP. */ > >   return 0; > >  } > >  #else > > -int socfpga_bridges_reset(int enable) > > +int socfpga_bridges_reset(void) > >  { > >   int ret; > >   > > >