diff -r 5a18725d2c20 -r 35788ddd1825 Hardware/ATI/ATIGPU.cs --- a/Hardware/ATI/ATIGPU.cs Sat Apr 23 14:18:02 2011 +0000 +++ b/Hardware/ATI/ATIGPU.cs Sat Apr 30 16:03:58 2011 +0000 @@ -16,7 +16,7 @@ The Initial Developer of the Original Code is Michael Möller . - Portions created by the Initial Developer are Copyright (C) 2009-2010 + Portions created by the Initial Developer are Copyright (C) 2009-2011 the Initial Developer. All Rights Reserved. Contributor(s): @@ -41,7 +41,6 @@ namespace OpenHardwareMonitor.Hardware.ATI { internal sealed class ATIGPU : Hardware { - private readonly string name; private readonly int adapterIndex; private readonly int busNumber; private readonly int deviceNumber; @@ -59,8 +58,9 @@ public ATIGPU(string name, int adapterIndex, int busNumber, int deviceNumber, ISettings settings) + : base(name, new Identifier("atigpu", + adapterIndex.ToString(CultureInfo.InvariantCulture)), settings) { - this.name = name; this.adapterIndex = adapterIndex; this.busNumber = busNumber; this.deviceNumber = deviceNumber; @@ -133,16 +133,6 @@ public int DeviceNumber { get { return deviceNumber; } } - public override string Name { - get { return name; } - } - - public override Identifier Identifier { - get { - return new Identifier("atigpu", - adapterIndex.ToString(CultureInfo.InvariantCulture)); - } - } public override HardwareType HardwareType { get { return HardwareType.GpuAti; }