Skip to content

Commit 6f128dc

Browse files
committed
Some more review findings
1 parent eff2f8e commit 6f128dc

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/System.Device.Gpio/System/Device/Gpio/Drivers/LibGpiodV2Driver.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ public LibGpiodV2Driver(int chipNumber)
4646
/// Construct an instance of this driver with the provided chip.
4747
/// </summary>
4848
/// <param name="chip">The chip to use. Should be one of the elements returned by <see cref="GetAvailableChips"/></param>
49-
[Experimental(DiagnosticIds.SDGPIO0001, UrlFormat = DiagnosticIds.UrlFormat)]
5049
public LibGpiodV2Driver(GpioChipInfo chip)
5150
: this(chip.Id)
5251
{

src/System.Device.Gpio/System/Device/Gpio/Drivers/SysFsDriver.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -900,7 +900,7 @@ protected internal override PinMode GetPinMode(int pinNumber)
900900
/// <inheritdoc />
901901
public override ComponentInformation QueryComponentInformation()
902902
{
903-
var self = new ComponentInformation(this, "SysFsDriver");
903+
var self = new ComponentInformation(this, nameof(SysFsDriver));
904904
#pragma warning disable SDGPIO0001
905905
self.Properties["ChipInfo"] = GetChipInfo().ToString();
906906
#pragma warning restore SDGPIO0001

0 commit comments

Comments
 (0)