From a58d8ba424f9b1b915698b3879abfd0afc1ca32b Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Thu, 31 Oct 2013 16:18:47 +0100 Subject: blspec: rename _hwdevice functions to _devicename Since it's not necessarily the hardware device this seems to be a more appropriate name. Signed-off-by: Sascha Hauer --- common/blspec.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'common/blspec.c') diff --git a/common/blspec.c b/common/blspec.c index dd8ec4b478..8ae09a2676 100644 --- a/common/blspec.c +++ b/common/blspec.c @@ -361,12 +361,12 @@ int blspec_scan_device(struct blspec *blspec, struct device_d *dev) } /* - * blspec_scan_hwdevice - scan a hardware device for child cdevs + * blspec_scan_devicename - scan a hardware device for child cdevs * * Given a name of a hardware device this functions scans over all child * cdevs looking for blspec entries. */ -int blspec_scan_hwdevice(struct blspec *blspec, const char *devname) +int blspec_scan_devicename(struct blspec *blspec, const char *devname) { struct device_d *dev; @@ -488,10 +488,10 @@ struct blspec_entry *blspec_entry_default(struct blspec *l) } /* - * blspec_boot_hwdevice - scan hardware device for blspec entries and + * blspec_boot_devicename - scan hardware device for blspec entries and * start the best one. */ -int blspec_boot_hwdevice(const char *devname, int verbose, int dryrun) +int blspec_boot_devicename(const char *devname, int verbose, int dryrun) { struct blspec *blspec; struct blspec_entry *e; @@ -499,7 +499,7 @@ int blspec_boot_hwdevice(const char *devname, int verbose, int dryrun) blspec = blspec_alloc(); - ret = blspec_scan_hwdevice(blspec, devname); + ret = blspec_scan_devicename(blspec, devname); if (ret) return ret; -- cgit v1.2.3